#866BCC#866BCC
#866BCC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.7% C 0.145 H 294.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #866BCC |
|---|---|
| RGB | rgb(134, 107, 204) |
| HSL | hsl(257, 49%, 61%) |
| HSV | hsv(257, 48%, 80%) |
| CMYK | cmyk(34.3%, 47.5%, 0%, 20%) |
| CIE-LAB | lab(51.77, 32.39, -46.75) |
| CIE-LCH | lch(51.77, 56.87, 304.72°) |
| OKLab | oklab(59.74% 0.0599 -0.1318) |
| OKLCH | oklch(59.74% 0.145 294.4) |
| XYZ | xyz(25.9855, 19.9429, 59.5953) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.49
Deep Lilac
#966EBD
ΔE00 5.49
Mediumslateblue
#7B68EE
ΔE00 5.94
Deep Lavender
#8D5EB7
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.69
Purpley
#8756E4
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BCC #B1CC6B
analogous
#6B80CC #866BCC #B66BCC
triadic
#866BCC #CC866B #6BCC86
tetradic
#866BCC #CC6B80 #B1CC6B #6BCCB6
square
#866BCC #CC6B80 #B1CC6B #6BCCB6
split-complementary
#866BCC #CCB66B #80CC6B
monochromatic
#4A308C #6240BA #866BCC #AB99DC #D0C6EB
Accessibility & contrast
On white
4.21
#866BCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#866BCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BCC
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BCC | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#767E92
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866bcc; /* rgb */ color: rgb(134, 107, 204); /* oklch */ color: oklch(59.7% 0.145 294.4);
Tailwind
colors: {
custom: {
50: '#ac96dc',
500: '#866bcc',
950: '#000000',
},
}SCSS
$custom: #866bcc; $custom-light: #ac96dc; $custom-dark: #000000;
JSON
{
"hex": "#866bcc",
"rgb": {
"r": 134,
"g": 107,
"b": 204
},
"hsl": {
"h": 256.701,
"s": 48.744,
"l": 60.98
},
"oklch": {
"l": 0.59739,
"c": 0.14475,
"h": 294.4
},
"luminance": 0.19943
}Semantic roles & 50–950 ramp
primary
#866BCC
secondary
#D2DCB7
accent
#BC2993
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83