#866BCA#866BCA
#866BCA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.6% C 0.142 H 294.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #866BCA |
|---|---|
| RGB | rgb(134, 107, 202) |
| HSL | hsl(257, 47%, 61%) |
| HSV | hsv(257, 47%, 79%) |
| CMYK | cmyk(33.7%, 47%, 0%, 20.8%) |
| CIE-LAB | lab(51.66, 31.86, -45.78) |
| CIE-LCH | lch(51.66, 55.78, 304.84°) |
| OKLab | oklab(59.62% 0.0596 -0.1289) |
| OKLCH | oklch(59.62% 0.142 294.8) |
| XYZ | xyz(25.7472, 19.8475, 58.3401) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.68
Deep Lilac
#966EBD
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.82
Mediumslateblue
#7B68EE
ΔE00 6.28
Amethyst
#9B5FC0
ΔE00 6.54
Purpley
#8756E4
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BCA #AFCA6B
analogous
#6B7FCA #866BCA #B66BCA
triadic
#866BCA #CA866B #6BCA86
tetradic
#866BCA #CA6B7F #AFCA6B #6BCAB6
square
#866BCA #CA6B7F #AFCA6B #6BCAB6
split-complementary
#866BCA #CAB66B #7FCA6B
monochromatic
#4A3189 #6341B6 #866BCA #AB98DA #D0C5EA
Accessibility & contrast
On white
4.23
#866BCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#866BCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BCA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BCA | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#767D91
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866bca; /* rgb */ color: rgb(134, 107, 202); /* oklch */ color: oklch(59.6% 0.142 294.8);
Tailwind
colors: {
custom: {
50: '#ac96da',
500: '#866bca',
950: '#000000',
},
}SCSS
$custom: #866bca; $custom-light: #ac96da; $custom-dark: #000000;
JSON
{
"hex": "#866bca",
"rgb": {
"r": 134,
"g": 107,
"b": 202
},
"hsl": {
"h": 257.053,
"s": 47.264,
"l": 60.588
},
"oklch": {
"l": 0.59623,
"c": 0.14207,
"h": 294.8
},
"luminance": 0.19848
}Semantic roles & 50–950 ramp
primary
#866BCA
secondary
#D0DAB6
accent
#BB2B92
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83