#866CE2#866CE2
#866CE2 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.172 H 290.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #866CE2 |
|---|---|
| RGB | rgb(134, 108, 226) |
| HSL | hsl(253, 67%, 65%) |
| HSV | hsv(253, 52%, 89%) |
| CMYK | cmyk(40.7%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(53.26, 37.76, -56.84) |
| CIE-LCH | lch(53.26, 68.24, 303.60°) |
| OKLab | oklab(61.25% 0.0605 -0.1614) |
| OKLCH | oklch(61.25% 0.172 290.5) |
| XYZ | xyz(28.9178, 21.2836, 74.5213) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.92
Mediumpurple
#9370DB
ΔE00 3.25
Purpley
#8756E4
ΔE00 6.11
Lighter Purple
#A55AF4
ΔE00 7.12
Dark Periwinkle
#665FD1
ΔE00 7.39
Periwinkle (survey)
#8E82FE
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866CE2 #C8E26C
analogous
#6C8DE2 #866CE2 #C16CE2
triadic
#866CE2 #E2866C #6CE286
tetradic
#866CE2 #E26C8D #C8E26C #6CE2C1
square
#866CE2 #E26C8D #C8E26C #6CE2C1
split-complementary
#866CE2 #E2C16C #8DE26C
monochromatic
#4223B1 #5C39D8 #866CE2 #B09FEC #DAD2F6
Accessibility & contrast
On white
3.99
#866CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#866CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866CE2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866CE2 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#6D859D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #866ce2; /* rgb */ color: rgb(134, 108, 226); /* oklch */ color: oklch(61.3% 0.172 290.5);
Tailwind
colors: {
custom: {
50: '#ae96ec',
500: '#866ce2',
950: '#000000',
},
}SCSS
$custom: #866ce2; $custom-light: #ae96ec; $custom-dark: #000000;
JSON
{
"hex": "#866ce2",
"rgb": {
"r": 134,
"g": 108,
"b": 226
},
"hsl": {
"h": 253.22,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.61254,
"c": 0.17233,
"h": 290.5
},
"luminance": 0.21284
}Semantic roles & 50–950 ramp
primary
#866CE2
secondary
#E0E9C1
accent
#CF17A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84