#866EF2#866EF2
#866EF2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.190 H 288.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #866EF2 |
|---|---|
| RGB | rgb(134, 110, 242) |
| HSL | hsl(251, 84%, 69%) |
| HSV | hsv(251, 55%, 95%) |
| CMYK | cmyk(44.6%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(54.69, 41.06, -63.50) |
| CIE-LCH | lch(54.69, 75.62, 302.89°) |
| OKLab | oklab(62.63% 0.0587 -0.1809) |
| OKLCH | oklch(62.63% 0.19 288) |
| XYZ | xyz(31.4299, 22.6298, 86.6991) |
| Luminance | 0.2263 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.59
Mediumpurple
#9370DB
ΔE00 4.69
Periwinkle (survey)
#8E82FE
ΔE00 5.96
Cornflower
#6A79F7
ΔE00 6.51
Purpley
#8756E4
ΔE00 7.14
Lighter Purple
#A55AF4
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866EF2 #DAF26E
analogous
#6E98F2 #866EF2 #C86EF2
triadic
#866EF2 #F2866E #6EF286
tetradic
#866EF2 #F26E98 #DAF26E #6EF2C8
square
#866EF2 #F26E98 #DAF26E #6EF2C8
split-complementary
#866EF2 #F2C86E #98F26E
monochromatic
#3613D3 #5736ED #866EF2 #B5A6F7 #E4DEFC
Accessibility & contrast
On white
3.80
#866EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#866EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866EF2
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866EF2 | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 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)
#2586F6
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#648BA5
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #866ef2; /* rgb */ color: rgb(134, 110, 242); /* oklch */ color: oklch(62.6% 0.190 288.0);
Tailwind
colors: {
custom: {
50: '#af98f7',
500: '#866ef2',
950: '#000000',
},
}SCSS
$custom: #866ef2; $custom-light: #af98f7; $custom-dark: #000000;
JSON
{
"hex": "#866ef2",
"rgb": {
"r": 134,
"g": 110,
"b": 242
},
"hsl": {
"h": 250.909,
"s": 83.544,
"l": 69.02
},
"oklch": {
"l": 0.6263,
"c": 0.19022,
"h": 288
},
"luminance": 0.22631
}Semantic roles & 50–950 ramp
primary
#866EF2
secondary
#EAF1CB
accent
#E006B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85