#866BE3#866BE3
#866BE3 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.175 H 290.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #866BE3 |
|---|---|
| RGB | rgb(134, 107, 227) |
| HSL | hsl(254, 68%, 65%) |
| HSV | hsv(254, 53%, 89%) |
| CMYK | cmyk(41%, 52.9%, 0%, 11%) |
| CIE-LAB | lab(53.09, 38.61, -57.67) |
| CIE-LCH | lch(53.09, 69.41, 303.80°) |
| OKLab | oklab(61.15% 0.0617 -0.1638) |
| OKLCH | oklch(61.15% 0.175 290.6) |
| XYZ | xyz(28.9505, 21.1289, 75.2111) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.74
Mediumpurple
#9370DB
ΔE00 3.42
Purpley
#8756E4
ΔE00 5.82
Lighter Purple
#A55AF4
ΔE00 6.91
Dark Periwinkle
#665FD1
ΔE00 7.29
Light Indigo
#6D5ACF
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BE3 #C8E36B
analogous
#6B8CE3 #866BE3 #C26BE3
triadic
#866BE3 #E3866B #6BE386
tetradic
#866BE3 #E36B8C #C8E36B #6BE3C2
square
#866BE3 #E36B8C #C8E36B #6BE3C2
split-complementary
#866BE3 #E3C26B #8CE36B
monochromatic
#4222B2 #5C38D9 #866BE3 #B09EED #DAD2F6
Accessibility & contrast
On white
4.02
#866BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#866BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BE3
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BE3 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3381E7
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#6C849D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #866be3; /* rgb */ color: rgb(134, 107, 227); /* oklch */ color: oklch(61.1% 0.175 290.6);
Tailwind
colors: {
custom: {
50: '#ae96ec',
500: '#866be3',
950: '#000000',
},
}SCSS
$custom: #866be3; $custom-light: #ae96ec; $custom-dark: #000000;
JSON
{
"hex": "#866be3",
"rgb": {
"r": 134,
"g": 107,
"b": 227
},
"hsl": {
"h": 253.5,
"s": 68.182,
"l": 65.49
},
"oklch": {
"l": 0.61148,
"c": 0.17506,
"h": 290.6
},
"luminance": 0.2113
}Semantic roles & 50–950 ramp
primary
#866BE3
secondary
#E0E9C1
accent
#D015A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84