#866EF6#866EF6
#866EF6 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.195 H 287.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #866EF6 |
|---|---|
| RGB | rgb(134, 110, 246) |
| HSL | hsl(251, 88%, 70%) |
| HSV | hsv(251, 55%, 96%) |
| CMYK | cmyk(45.5%, 55.3%, 0%, 3.5%) |
| CIE-LAB | lab(54.94, 42.19, -65.31) |
| CIE-LCH | lch(54.94, 77.76, 302.86°) |
| OKLab | oklab(62.9% 0.0588 -0.1863) |
| OKLCH | oklch(62.9% 0.195 287.5) |
| XYZ | xyz(32.0372, 22.8727, 89.8977) |
| Luminance | 0.2287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.76
Mediumpurple
#9370DB
ΔE00 5.12
Periwinkle (survey)
#8E82FE
ΔE00 5.81
Cornflower
#6A79F7
ΔE00 6.40
Lighter Purple
#A55AF4
ΔE00 7.32
Purpley
#8756E4
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866EF6 #DEF66E
analogous
#6E9AF6 #866EF6 #CA6EF6
triadic
#866EF6 #F6866E #6EF686
tetradic
#866EF6 #F66E9A #DEF66E #6EF6CA
square
#866EF6 #F66E9A #DEF66E #6EF6CA
split-complementary
#866EF6 #F6CA6E #9AF66E
monochromatic
#320EDC #5634F2 #866EF6 #B6A8FA #E6E1FD
Accessibility & contrast
On white
3.77
#866EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#866EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866EF6
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866EF6 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C87FB
Deuteranopia (green-blind)
#1C80F3
Tritanopia (blue-blind)
#628CA8
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #866ef6; /* rgb */ color: rgb(134, 110, 246); /* oklch */ color: oklch(62.9% 0.195 287.5);
Tailwind
colors: {
custom: {
50: '#b098fa',
500: '#866ef6',
950: '#000000',
},
}SCSS
$custom: #866ef6; $custom-light: #b098fa; $custom-dark: #000000;
JSON
{
"hex": "#866ef6",
"rgb": {
"r": 134,
"g": 110,
"b": 246
},
"hsl": {
"h": 250.588,
"s": 88.312,
"l": 69.804
},
"oklch": {
"l": 0.62897,
"c": 0.19532,
"h": 287.5
},
"luminance": 0.22874
}Semantic roles & 50–950 ramp
primary
#866EF6
secondary
#ECF3CD
accent
#E501BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85