#866ACC#866ACC
#866ACC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.6% C 0.146 H 294.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #866ACC |
|---|---|
| RGB | rgb(134, 106, 204) |
| HSL | hsl(257, 49%, 61%) |
| HSV | hsv(257, 48%, 80%) |
| CMYK | cmyk(34.3%, 48%, 0%, 20%) |
| CIE-LAB | lab(51.54, 32.98, -47.12) |
| CIE-LCH | lch(51.54, 57.52, 304.98°) |
| OKLab | oklab(59.56% 0.0612 -0.1329) |
| OKLCH | oklch(59.56% 0.146 294.7) |
| XYZ | xyz(25.8819, 19.7356, 59.5608) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.61
Deep Lilac
#966EBD
ΔE00 5.55
Deep Lavender
#8D5EB7
ΔE00 5.83
Mediumslateblue
#7B68EE
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.51
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866ACC #B0CC6A
analogous
#6A7FCC #866ACC #B76ACC
triadic
#866ACC #CC866A #6ACC86
tetradic
#866ACC #CC6A7F #B0CC6A #6ACCB7
square
#866ACC #CC6A7F #B0CC6A #6ACCB7
split-complementary
#866ACC #CCB76A #7FCC6A
monochromatic
#4A308C #623FB9 #866ACC #AB98DC #D0C5EB
Accessibility & contrast
On white
4.24
#866ACC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#866ACC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866ACC
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866ACC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866ACC | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#767D91
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #866acc; /* rgb */ color: rgb(134, 106, 204); /* oklch */ color: oklch(59.6% 0.146 294.7);
Tailwind
colors: {
custom: {
50: '#ac95dc',
500: '#866acc',
950: '#000000',
},
}SCSS
$custom: #866acc; $custom-light: #ac95dc; $custom-dark: #000000;
JSON
{
"hex": "#866acc",
"rgb": {
"r": 134,
"g": 106,
"b": 204
},
"hsl": {
"h": 257.143,
"s": 49,
"l": 60.784
},
"oklch": {
"l": 0.59563,
"c": 0.1463,
"h": 294.7
},
"luminance": 0.19736
}Semantic roles & 50–950 ramp
primary
#866ACC
secondary
#D1DBB6
accent
#BC2992
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83