Medium slate blue

#8172e0

Hex, rgb, cmyk and Pantone values for medium slate blue, with shades, tints, matching colors and free print quality patterns.

This is Medium slate blue, a strong blue at 248 degrees. A mid blue this balanced is a workhorse for corporate identity. It pairs with warm neutrals for balance, or with a brighter accent for contrast.

Medium slate blue color values

Every conversion for #8172e0, ready to copy. Hex, rgb, hsl, hsv, cmyk, cie-lab, xyz, decimal, web safe and the nearest Pantone.

Hex#8172e0
RGB129, 114, 224
HSL248, 64%, 66%
HSV248, 49%, 88%
CMYK42%, 49%, 0%, 12%
Lab54.12, 32.54, -54.38
XYZ28.53, 22.08, 73.28
Decimal8483552
Web safe#9966cc
Pantone2715 C
Pantone2715 CHex#8172e0Rgb129 114 224Cmyk42 49 0 12Lab54 33 -54Darker#3423a0Deep#4d37d3Lighter#b8b0ea

Shades of medium slate blue

Tints of medium slate blue

Colors that go with medium slate blue

Medium slate blue in print

The cmyk build is well inside gamut, so what you see on screen is close to what prints. The cmyk build is 42, 49, 0, 12.

The same color needs a different cmyk build depending on the paper. Here is #8172e0 on both.

Coated stockgloss or silk, C
42 49 0 12
Ink sits on the surface, so colors stay bright and close to screen.
Uncoated stocknatural or matte, U
43 49 4 18
The stock absorbs ink and gains dot, so it needs a heavier build and reads a touch softer.

This color converts to cmyk comfortably and should hold on press.

See how it converts in the rgb to cmyk converter, or read rgb vs cmyk for print and what the k in cmyk means.

Medium slate blue in css

Copy #8172e0 straight into your stylesheet.

.background { background-color: #8172e0; }
.text { color: #8172e0; }
.border { border: 2px solid #8172e0; }

How medium slate blue looks on light and dark

Medium slate blue and accessibility

Contrast ratios for #8172e0 against black and white text, measured to the WCAG standard.

Textwhite text on this color
3.88:1
AA fail · AA large pass · AAA fail
Textblack text on this color
5.42:1
AA pass · AA large pass · AAA fail

Use black text on this color for readable body copy. To test #8172e0 against any other color, not just black and white, run the pair through our contrast checker for a live WCAG reading.

Medium slate blue on a business card, sticker and pattern

A quick look at how #8172e0 sits on real print products. Start any of these in the maker.

Your nameFounderhello@brand.comBusiness card
Sticker
Repeat pattern

Building a full palette around medium slate blue? Pull matching colors from any photo with the color palette generator, or check a design for print with the rgb to cmyk converter.

Turn medium slate blue into a seamless pattern

Four patterns built from #8172e0 and its shades, free at print quality. Click any one to keep editing in the pattern maker.

Make posters, wallpaper and packaging art from medium slate blue, free and print ready.

Open in pattern maker

How we calculate these values

Here is how the numbers for #8172e0 are worked out. The rgb, hsl, hsv, cie-lab and xyz values follow the standard conversions from the sRGB color space. The uncoated cmyk build carries more ink than the coated one, which is what a printer would compensate for when the same color runs on a rougher stock. For Pantone we return the nearest reference by perceptual distance, which gets you close but is not a substitute for a physical swatch book.