#866FE3#866FE3
#866FE3 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.169 H 289.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #866FE3 |
|---|---|
| RGB | rgb(134, 111, 227) |
| HSL | hsl(252, 67%, 66%) |
| HSV | hsv(252, 51%, 89%) |
| CMYK | cmyk(41%, 51.1%, 0%, 11%) |
| CIE-LAB | lab(54.01, 36.30, -56.20) |
| CIE-LCH | lch(54.01, 66.91, 302.86°) |
| OKLab | oklab(61.83% 0.0569 -0.1595) |
| OKLCH | oklch(61.83% 0.169 289.6) |
| XYZ | xyz(29.3772, 21.9823, 75.3533) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.21
Mediumslateblue
#7B68EE
ΔE00 3.23
Periwinkle (survey)
#8E82FE
ΔE00 6.67
Purpley
#8756E4
ΔE00 7.03
Cornflower
#6A79F7
ΔE00 7.18
Lighter Purple
#A55AF4
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FE3 #CCE36F
analogous
#6F92E3 #866FE3 #C06FE3
triadic
#866FE3 #E3866F #6FE386
tetradic
#866FE3 #E36F92 #CCE36F #6FE3C0
square
#866FE3 #E36F92 #CCE36F #6FE3C0
split-complementary
#866FE3 #E3C06F #92E36F
monochromatic
#4023B5 #5B3CD9 #866FE3 #B1A2ED #DCD5F7
Accessibility & contrast
On white
3.89
#866FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#866FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FE3
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FE3 | 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)
#3D83E7
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#6C879F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #866fe3; /* rgb */ color: rgb(134, 111, 227); /* oklch */ color: oklch(61.8% 0.169 289.6);
Tailwind
colors: {
custom: {
50: '#ae99ec',
500: '#866fe3',
950: '#000000',
},
}SCSS
$custom: #866fe3; $custom-light: #ae99ec; $custom-dark: #000000;
JSON
{
"hex": "#866fe3",
"rgb": {
"r": 134,
"g": 111,
"b": 227
},
"hsl": {
"h": 251.897,
"s": 67.442,
"l": 66.275
},
"oklch": {
"l": 0.61832,
"c": 0.16933,
"h": 289.6
},
"luminance": 0.21983
}Semantic roles & 50–950 ramp
primary
#866FE3
secondary
#E2EAC4
accent
#CF16AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84