#866CF2#866CF2
#866CF2 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.3% C 0.193 H 288.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #866CF2 |
|---|---|
| RGB | rgb(134, 108, 242) |
| HSL | hsl(252, 84%, 69%) |
| HSV | hsv(252, 55%, 95%) |
| CMYK | cmyk(44.6%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(54.24, 42.21, -64.22) |
| CIE-LCH | lch(54.24, 76.84, 303.32°) |
| OKLab | oklab(62.3% 0.061 -0.183) |
| OKLCH | oklch(62.3% 0.193 288.4) |
| XYZ | xyz(31.2165, 22.2031, 86.6280) |
| Luminance | 0.2220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.28
Mediumpurple
#9370DB
ΔE00 4.74
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Purpley
#8756E4
ΔE00 6.58
Cornflower
#6A79F7
ΔE00 6.89
Lighter Purple
#A55AF4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CF2 #D8F26C
analogous
#6C95F2 #866CF2 #C96CF2
triadic
#866CF2 #F2866C #6CF286
tetradic
#866CF2 #F26C95 #D8F26C #6CF2C9
square
#866CF2 #F26C95 #D8F26C #6CF2C9
split-complementary
#866CF2 #F2C96C #95F26C
monochromatic
#3712D1 #5834ED #866CF2 #B4A4F7 #E3DCFC
Accessibility & contrast
On white
3.86
#866CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#866CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CF2
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CF2 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D85F7
Deuteranopia (green-blind)
#207EEF
Tritanopia (blue-blind)
#6589A5
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #866cf2; /* rgb */ color: rgb(134, 108, 242); /* oklch */ color: oklch(62.3% 0.193 288.4);
Tailwind
colors: {
custom: {
50: '#b097f7',
500: '#866cf2',
950: '#000000',
},
}SCSS
$custom: #866cf2; $custom-light: #b097f7; $custom-dark: #000000;
JSON
{
"hex": "#866cf2",
"rgb": {
"r": 134,
"g": 108,
"b": 242
},
"hsl": {
"h": 251.642,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.62299,
"c": 0.19293,
"h": 288.4
},
"luminance": 0.22204
}Semantic roles & 50–950 ramp
primary
#866CF2
secondary
#E9F1C9
accent
#E005B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85