#866EF5#866EF5
#866EF5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.194 H 287.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #866EF5 |
|---|---|
| RGB | rgb(134, 110, 245) |
| HSL | hsl(251, 87%, 70%) |
| HSV | hsv(251, 55%, 96%) |
| CMYK | cmyk(45.3%, 55.1%, 0%, 3.9%) |
| CIE-LAB | lab(54.88, 41.91, -64.86) |
| CIE-LCH | lch(54.88, 77.22, 302.87°) |
| OKLab | oklab(62.83% 0.0588 -0.1849) |
| OKLCH | oklch(62.83% 0.194 287.6) |
| XYZ | xyz(31.8841, 22.8115, 89.0916) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.71
Mediumpurple
#9370DB
ΔE00 5.01
Periwinkle (survey)
#8E82FE
ΔE00 5.84
Cornflower
#6A79F7
ΔE00 6.42
Purpley
#8756E4
ΔE00 7.29
Lighter Purple
#A55AF4
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866EF5 #DDF56E
analogous
#6E99F5 #866EF5 #CA6EF5
triadic
#866EF5 #F5866E #6EF586
tetradic
#866EF5 #F56E99 #DDF56E #6EF5CA
square
#866EF5 #F56E99 #DDF56E #6EF5CA
split-complementary
#866EF5 #F5CA6E #99F56E
monochromatic
#330FDA #5635F1 #866EF5 #B6A7F9 #E6E1FD
Accessibility & contrast
On white
3.78
#866EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#866EF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866EF5
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866EF5 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F87FA
Deuteranopia (green-blind)
#1F80F2
Tritanopia (blue-blind)
#638CA7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #866ef5; /* rgb */ color: rgb(134, 110, 245); /* oklch */ color: oklch(62.8% 0.194 287.6);
Tailwind
colors: {
custom: {
50: '#b098f9',
500: '#866ef5',
950: '#000000',
},
}SCSS
$custom: #866ef5; $custom-light: #b098f9; $custom-dark: #000000;
JSON
{
"hex": "#866ef5",
"rgb": {
"r": 134,
"g": 110,
"b": 245
},
"hsl": {
"h": 250.667,
"s": 87.097,
"l": 69.608
},
"oklch": {
"l": 0.6283,
"c": 0.19405,
"h": 287.6
},
"luminance": 0.22813
}Semantic roles & 50–950 ramp
primary
#866EF5
secondary
#ECF3CC
accent
#E402BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85