#866AEC#866AEC
#866AEC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.6% C 0.188 H 289.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #866AEC |
|---|---|
| RGB | rgb(134, 106, 236) |
| HSL | hsl(253, 77%, 67%) |
| HSV | hsv(253, 55%, 93%) |
| CMYK | cmyk(43.2%, 55.1%, 0%, 7.5%) |
| CIE-LAB | lab(53.42, 41.67, -62.19) |
| CIE-LCH | lch(53.42, 74.87, 303.82°) |
| OKLab | oklab(61.57% 0.0632 -0.1771) |
| OKLCH | oklch(61.57% 0.188 289.6) |
| XYZ | xyz(30.1216, 21.4315, 81.8902) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.07
Mediumpurple
#9370DB
ΔE00 4.27
Purpley
#8756E4
ΔE00 5.74
Lighter Purple
#A55AF4
ΔE00 6.55
Periwinkle (survey)
#8E82FE
ΔE00 7.35
Cornflower
#6A79F7
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866AEC #D0EC6A
analogous
#6A8FEC #866AEC #C76AEC
triadic
#866AEC #EC866A #6AEC86
tetradic
#866AEC #EC6A8F #D0EC6A #6AECC7
square
#866AEC #EC6A8F #D0EC6A #6AECC7
split-complementary
#866AEC #ECC76A #8FEC6A
monochromatic
#3D19C3 #5A34E5 #866AEC #B2A0F3 #DED7FA
Accessibility & contrast
On white
3.97
#866AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#866AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866AEC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866AEC | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#277DE9
Tritanopia (blue-blind)
#6886A1
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #866aec; /* rgb */ color: rgb(134, 106, 236); /* oklch */ color: oklch(61.6% 0.188 289.6);
Tailwind
colors: {
custom: {
50: '#af95f3',
500: '#866aec',
950: '#000000',
},
}SCSS
$custom: #866aec; $custom-light: #af95f3; $custom-dark: #000000;
JSON
{
"hex": "#866aec",
"rgb": {
"r": 134,
"g": 106,
"b": 236
},
"hsl": {
"h": 252.923,
"s": 77.381,
"l": 67.059
},
"oklch": {
"l": 0.61569,
"c": 0.18803,
"h": 289.6
},
"luminance": 0.21433
}Semantic roles & 50–950 ramp
primary
#866AEC
secondary
#E5EEC4
accent
#DA0CAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85