#866FEF#866FEF
#866FEF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.185 H 288.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #866FEF |
|---|---|
| RGB | rgb(134, 111, 239) |
| HSL | hsl(251, 80%, 69%) |
| HSV | hsv(251, 54%, 94%) |
| CMYK | cmyk(43.9%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(54.73, 39.65, -61.76) |
| CIE-LCH | lch(54.73, 73.39, 302.70°) |
| OKLab | oklab(62.6% 0.0575 -0.1758) |
| OKLCH | oklch(62.6% 0.185 288.1) |
| XYZ | xyz(31.0915, 22.6680, 84.3818) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.73
Mediumpurple
#9370DB
ΔE00 4.37
Periwinkle (survey)
#8E82FE
ΔE00 5.84
Cornflower
#6A79F7
ΔE00 6.45
Purpley
#8756E4
ΔE00 7.29
Lavender Blue
#8B88F8
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FEF #D8EF6F
analogous
#6F98EF #866FEF #C66FEF
triadic
#866FEF #EF866F #6FEF86
tetradic
#866FEF #EF6F98 #D8EF6F #6FEFC6
square
#866FEF #EF6F98 #D8EF6F #6FEFC6
split-complementary
#866FEF #EFC66F #98EF6F
monochromatic
#3717CD #5838E9 #866FEF #B4A6F5 #E3DDFB
Accessibility & contrast
On white
3.79
#866FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#866FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FEF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FEF | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#2E80EC
Tritanopia (blue-blind)
#668BA4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #866fef; /* rgb */ color: rgb(134, 111, 239); /* oklch */ color: oklch(62.6% 0.185 288.1);
Tailwind
colors: {
custom: {
50: '#af99f5',
500: '#866fef',
950: '#000000',
},
}SCSS
$custom: #866fef; $custom-light: #af99f5; $custom-dark: #000000;
JSON
{
"hex": "#866fef",
"rgb": {
"r": 134,
"g": 111,
"b": 239
},
"hsl": {
"h": 250.781,
"s": 80,
"l": 68.627
},
"oklch": {
"l": 0.626,
"c": 0.18498,
"h": 288.1
},
"luminance": 0.22669
}Semantic roles & 50–950 ramp
primary
#866FEF
secondary
#E9F0CA
accent
#DC09B6
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85