#866CEF#866CEF
#866CEF is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.1% C 0.189 H 288.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #866CEF |
|---|---|
| RGB | rgb(134, 108, 239) |
| HSL | hsl(252, 80%, 68%) |
| HSV | hsv(252, 55%, 94%) |
| CMYK | cmyk(43.9%, 54.8%, 0%, 6.3%) |
| CIE-LAB | lab(54.05, 41.37, -62.85) |
| CIE-LCH | lch(54.05, 75.24, 303.35°) |
| OKLab | oklab(62.1% 0.061 -0.179) |
| OKLCH | oklch(62.1% 0.189 288.8) |
| XYZ | xyz(30.7697, 22.0243, 84.2745) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.23
Mediumpurple
#9370DB
ΔE00 4.43
Purpley
#8756E4
ΔE00 6.43
Periwinkle (survey)
#8E82FE
ΔE00 6.65
Lighter Purple
#A55AF4
ΔE00 6.88
Cornflower
#6A79F7
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CEF #D5EF6C
analogous
#6C94EF #866CEF #C76CEF
triadic
#866CEF #EF866C #6CEF86
tetradic
#866CEF #EF6C94 #D5EF6C #6CEFC7
square
#866CEF #EF6C94 #D5EF6C #6CEFC7
split-complementary
#866CEF #EFC76C #94EF6C
monochromatic
#3A16CB #5935E9 #866CEF #B3A3F5 #E1DAFB
Accessibility & contrast
On white
3.89
#866CEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#866CEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CEF
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CEF | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#6689A3
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #866cef; /* rgb */ color: rgb(134, 108, 239); /* oklch */ color: oklch(62.1% 0.189 288.8);
Tailwind
colors: {
custom: {
50: '#af97f5',
500: '#866cef',
950: '#000000',
},
}SCSS
$custom: #866cef; $custom-light: #af97f5; $custom-dark: #000000;
JSON
{
"hex": "#866cef",
"rgb": {
"r": 134,
"g": 108,
"b": 239
},
"hsl": {
"h": 251.908,
"s": 80.368,
"l": 68.039
},
"oklch": {
"l": 0.62099,
"c": 0.18911,
"h": 288.8
},
"luminance": 0.22025
}Semantic roles & 50–950 ramp
primary
#866CEF
secondary
#E7EFC7
accent
#DD09B3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85