#866FAC#866FAC
#866FAC is a mid, moderate violet. Relative luminance 0.194; OKLCH L 58.8% C 0.094 H 300.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #866FAC |
|---|---|
| RGB | rgb(134, 111, 172) |
| HSL | hsl(263, 27%, 55%) |
| HSV | hsv(263, 35%, 67%) |
| CMYK | cmyk(22.1%, 35.5%, 0%, 32.5%) |
| CIE-LAB | lab(51.17, 21.87, -29.27) |
| CIE-LCH | lch(51.17, 36.54, 306.77°) |
| OKLab | oklab(58.77% 0.0485 -0.0811) |
| OKLCH | oklch(58.77% 0.094 300.9) |
| XYZ | xyz(22.9607, 19.4157, 41.5597) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.64
Dark Lavender
#856798
ΔE00 5.08
Dark Lilac
#9C6DA5
ΔE00 6.62
Faded Purple
#916E99
ΔE00 6.65
Deep Lavender
#8D5EB7
ΔE00 6.72
Soft Purple
#A66FB5
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FAC #95AC6F
analogous
#6F76AC #866FAC #A46FAC
triadic
#866FAC #AC866F #6FAC86
tetradic
#866FAC #AC6F76 #95AC6F #6FACA4
square
#866FAC #AC6F76 #95AC6F #6FACA4
split-complementary
#866FAC #ACA46F #76AC6F
monochromatic
#4B3B66 #68518D #866FAC #A796C2 #C7BDD9
Accessibility & contrast
On white
4.30
#866FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#866FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FAC
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FAC | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#657AAA
Tritanopia (blue-blind)
#7F7985
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #866fac; /* rgb */ color: rgb(134, 111, 172); /* oklch */ color: oklch(58.8% 0.094 300.9);
Tailwind
colors: {
custom: {
50: '#aa98c5',
500: '#866fac',
950: '#000000',
},
}SCSS
$custom: #866fac; $custom-light: #aa98c5; $custom-dark: #000000;
JSON
{
"hex": "#866fac",
"rgb": {
"r": 134,
"g": 111,
"b": 172
},
"hsl": {
"h": 262.623,
"s": 26.872,
"l": 55.49
},
"oklch": {
"l": 0.58768,
"c": 0.09446,
"h": 300.9
},
"luminance": 0.19416
}Semantic roles & 50–950 ramp
primary
#866FAC
secondary
#BFC8AF
accent
#C365A0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82