#866FC4#866FC4
#866FC4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.128 H 294.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #866FC4 |
|---|---|
| RGB | rgb(134, 111, 196) |
| HSL | hsl(256, 42%, 60%) |
| HSV | hsv(256, 43%, 77%) |
| CMYK | cmyk(31.6%, 43.4%, 0%, 23.1%) |
| CIE-LAB | lab(52.31, 27.94, -41.32) |
| CIE-LCH | lch(52.31, 49.88, 304.06°) |
| OKLab | oklab(60.01% 0.0534 -0.1159) |
| OKLCH | oklch(60.01% 0.128 294.7) |
| XYZ | xyz(25.4773, 20.4223, 54.8135) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.30
Deep Lilac
#966EBD
ΔE00 4.54
Deep Lavender
#8D5EB7
ΔE00 6.33
Amethyst
#9B5FC0
ΔE00 7.11
Mediumslateblue
#7B68EE
ΔE00 7.61
Light Indigo
#6D5ACF
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FC4 #ADC46F
analogous
#6F83C4 #866FC4 #B06FC4
triadic
#866FC4 #C4866F #6FC486
tetradic
#866FC4 #C46F83 #ADC46F #6FC4B0
square
#866FC4 #C46F83 #ADC46F #6FC4B0
split-complementary
#866FC4 #C4B06F #83C46F
monochromatic
#4B3683 #6347AE #866FC4 #AA9AD6 #CFC6E8
Accessibility & contrast
On white
4.13
#866FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#866FC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FC4
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FC4 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557EC7
Deuteranopia (green-blind)
#587CC2
Tritanopia (blue-blind)
#787F90
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866fc4; /* rgb */ color: rgb(134, 111, 196); /* oklch */ color: oklch(60.0% 0.128 294.7);
Tailwind
colors: {
custom: {
50: '#ab98d6',
500: '#866fc4',
950: '#000000',
},
}SCSS
$custom: #866fc4; $custom-light: #ab98d6; $custom-dark: #000000;
JSON
{
"hex": "#866fc4",
"rgb": {
"r": 134,
"g": 111,
"b": 196
},
"hsl": {
"h": 256.235,
"s": 41.872,
"l": 60.196
},
"oklch": {
"l": 0.60008,
"c": 0.12764,
"h": 294.7
},
"luminance": 0.20423
}Semantic roles & 50–950 ramp
primary
#866FC4
secondary
#CFD8B7
accent
#B53191
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83