#8A5FDB

A light, moderate purple closely aligning with Mediumslateblue.

About #8A5FDB

The hex code #8A5FDB represents a beautifully specific shade of purple. If you're using CSS, you might find it aligns closely with Mediumslateblue. This translates to an RGB value of rgb(138, 95, 219).

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 37% cyan and 57% magenta inks. Always request a physical proof before doing a large print run with this exact code.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#8A5FDB
RGB138, 95, 219
HSL260.8°, 63.3%, 61.6%
CMYK37%, 57%, 0%, 14%
HSV260.8°, 56.6%, 85.9%
LAB50.3, 44.2, -57.6
XYZ27.4, 18.7, 69.2
Decimal9068507

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

4.43:1
Text on #FFFFFF
AA Large
4.74:1
Text on #000000
AA
4.23:1
Text on #F8FAFC
AA Large
4.03:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #8A5FDB; }
.text-color { color: #8A5FDB; }
.border-color { border: 2px solid #8A5FDB; }

Similar Colors

Mediumslateblue
#7B68EE