#8D6EF5#8D6EF5
#8D6EF5 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.194 H 290.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8D6EF5 |
|---|---|
| RGB | rgb(141, 110, 245) |
| HSL | hsl(254, 87%, 70%) |
| HSV | hsv(254, 55%, 96%) |
| CMYK | cmyk(42.4%, 55.1%, 0%, 3.9%) |
| CIE-LAB | lab(55.49, 43.42, -63.85) |
| CIE-LCH | lch(55.49, 77.21, 304.22°) |
| OKLab | oklab(63.43% 0.0674 -0.1817) |
| OKLCH | oklch(63.43% 0.194 290.4) |
| XYZ | xyz(33.0373, 23.4061, 89.1456) |
| Luminance | 0.2341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.66
Mediumpurple
#9370DB
ΔE00 4.33
Periwinkle (survey)
#8E82FE
ΔE00 5.84
Lighter Purple
#A55AF4
ΔE00 6.36
Light Urple
#B36FF6
ΔE00 7.04
Purpley
#8756E4
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D6EF5 #D6F56E
analogous
#6E92F5 #8D6EF5 #D16EF5
triadic
#8D6EF5 #F58D6E #6EF58D
tetradic
#8D6EF5 #F56E92 #D6F56E #6EF5D1
square
#8D6EF5 #F56E92 #D6F56E #6EF5D1
split-complementary
#8D6EF5 #F5D16E #92F56E
monochromatic
#3E0FDA #6035F1 #8D6EF5 #BAA7F9 #E7E1FD
Accessibility & contrast
On white
3.70
#8D6EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#8D6EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D6EF5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D6EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D6EF5 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2487FA
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#6F8BA7
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8d6ef5; /* rgb */ color: rgb(141, 110, 245); /* oklch */ color: oklch(63.4% 0.194 290.4);
Tailwind
colors: {
custom: {
50: '#b498f9',
500: '#8d6ef5',
950: '#000000',
},
}SCSS
$custom: #8d6ef5; $custom-light: #b498f9; $custom-dark: #000000;
JSON
{
"hex": "#8d6ef5",
"rgb": {
"r": 141,
"g": 110,
"b": 245
},
"hsl": {
"h": 253.778,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.63429,
"c": 0.19385,
"h": 290.4
},
"luminance": 0.23407
}Semantic roles & 50–950 ramp
primary
#8D6EF5
secondary
#EAF3CC
accent
#E402B0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85