#866DE2#866DE2
#866DE2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.171 H 290.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #866DE2 |
|---|---|
| RGB | rgb(134, 109, 226) |
| HSL | hsl(253, 67%, 66%) |
| HSV | hsv(253, 52%, 89%) |
| CMYK | cmyk(40.7%, 51.8%, 0%, 11.4%) |
| CIE-LAB | lab(53.49, 37.18, -56.47) |
| CIE-LCH | lch(53.49, 67.62, 303.36°) |
| OKLab | oklab(61.43% 0.0593 -0.1603) |
| OKLCH | oklch(61.43% 0.171 290.3) |
| XYZ | xyz(29.0238, 21.4957, 74.5566) |
| Luminance | 0.2150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.02
Mediumpurple
#9370DB
ΔE00 3.18
Purpley
#8756E4
ΔE00 6.42
Periwinkle (survey)
#8E82FE
ΔE00 7.25
Lighter Purple
#A55AF4
ΔE00 7.31
Dark Periwinkle
#665FD1
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866DE2 #C9E26D
analogous
#6D8EE2 #866DE2 #C16DE2
triadic
#866DE2 #E2866D #6DE286
tetradic
#866DE2 #E26D8E #C9E26D #6DE2C1
square
#866DE2 #E26D8E #C9E26D #6DE2C1
split-complementary
#866DE2 #E2C16D #8EE26D
monochromatic
#4223B1 #5C3AD8 #866DE2 #B0A0EC #DBD3F6
Accessibility & contrast
On white
3.96
#866DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#866DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866DE2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866DE2 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#6D859D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #866de2; /* rgb */ color: rgb(134, 109, 226); /* oklch */ color: oklch(61.4% 0.171 290.3);
Tailwind
colors: {
custom: {
50: '#ae97ec',
500: '#866de2',
950: '#000000',
},
}SCSS
$custom: #866de2; $custom-light: #ae97ec; $custom-dark: #000000;
JSON
{
"hex": "#866de2",
"rgb": {
"r": 134,
"g": 109,
"b": 226
},
"hsl": {
"h": 252.821,
"s": 66.857,
"l": 65.686
},
"oklch": {
"l": 0.61425,
"c": 0.17089,
"h": 290.3
},
"luminance": 0.21497
}Semantic roles & 50–950 ramp
primary
#866DE2
secondary
#E1E9C2
accent
#CF17A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84