#8F6EF4#8F6EF4
#8F6EF4 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.5% C 0.193 H 291.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8F6EF4 |
|---|---|
| RGB | rgb(143, 110, 244) |
| HSL | hsl(255, 86%, 69%) |
| HSV | hsv(255, 55%, 96%) |
| CMYK | cmyk(41.4%, 54.9%, 0%, 4.3%) |
| CIE-LAB | lab(55.61, 43.58, -63.09) |
| CIE-LCH | lch(55.61, 76.68, 304.64°) |
| OKLab | oklab(63.54% 0.0699 -0.1795) |
| OKLCH | oklch(63.54% 0.193 291.3) |
| XYZ | xyz(33.2283, 23.5221, 88.3599) |
| Luminance | 0.2352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.95
Mediumpurple
#9370DB
ΔE00 4.05
Periwinkle (survey)
#8E82FE
ΔE00 5.94
Lighter Purple
#A55AF4
ΔE00 6.09
Light Urple
#B36FF6
ΔE00 6.66
Purpley
#8756E4
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F6EF4 #D3F46E
analogous
#6E90F4 #8F6EF4 #D26EF4
triadic
#8F6EF4 #F48F6E #6EF48F
tetradic
#8F6EF4 #F46E90 #D3F46E #6EF4D2
square
#8F6EF4 #F46E90 #D3F46E #6EF4D2
split-complementary
#8F6EF4 #F4D26E #90F46E
monochromatic
#4110D7 #6335F0 #8F6EF4 #BBA7F8 #E7E0FD
Accessibility & contrast
On white
3.68
#8F6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8F6EF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F6EF4
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F6EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F6EF4 | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2787F9
Deuteranopia (green-blind)
#2F82F1
Tritanopia (blue-blind)
#738BA7
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8f6ef4; /* rgb */ color: rgb(143, 110, 244); /* oklch */ color: oklch(63.5% 0.193 291.3);
Tailwind
colors: {
custom: {
50: '#b598f8',
500: '#8f6ef4',
950: '#000000',
},
}SCSS
$custom: #8f6ef4; $custom-light: #b598f8; $custom-dark: #000000;
JSON
{
"hex": "#8f6ef4",
"rgb": {
"r": 143,
"g": 110,
"b": 244
},
"hsl": {
"h": 254.776,
"s": 85.897,
"l": 69.412
},
"oklch": {
"l": 0.6354,
"c": 0.1926,
"h": 291.3
},
"luminance": 0.23523
}Semantic roles & 50–950 ramp
primary
#8F6EF4
secondary
#E9F2CC
accent
#E203AB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85