#866FC3#866FC3
#866FC3 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.0% C 0.126 H 294.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #866FC3 |
|---|---|
| RGB | rgb(134, 111, 195) |
| HSL | hsl(256, 41%, 60%) |
| HSV | hsv(256, 43%, 76%) |
| CMYK | cmyk(31.3%, 43.1%, 0%, 23.5%) |
| CIE-LAB | lab(52.26, 27.68, -40.83) |
| CIE-LCH | lch(52.26, 49.33, 304.13°) |
| OKLab | oklab(59.95% 0.0532 -0.1145) |
| OKLCH | oklch(59.95% 0.126 294.9) |
| XYZ | xyz(25.3638, 20.3770, 54.2160) |
| Luminance | 0.2038 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.44
Mediumpurple
#9370DB
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 7.08
Mediumslateblue
#7B68EE
ΔE00 7.80
Light Indigo
#6D5ACF
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FC3 #ACC36F
analogous
#6F82C3 #866FC3 #B06FC3
triadic
#866FC3 #C3866F #6FC386
tetradic
#866FC3 #C36F82 #ACC36F #6FC3B0
square
#866FC3 #C36F82 #ACC36F #6FC3B0
split-complementary
#866FC3 #C3B06F #82C36F
monochromatic
#4B3682 #6448AD #866FC3 #AA9AD5 #CFC5E7
Accessibility & contrast
On white
4.14
#866FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#866FC3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FC3
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FC3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FC3 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 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)
#557DC6
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#797E90
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866fc3; /* rgb */ color: rgb(134, 111, 195); /* oklch */ color: oklch(60.0% 0.126 294.9);
Tailwind
colors: {
custom: {
50: '#ab98d5',
500: '#866fc3',
950: '#000000',
},
}SCSS
$custom: #866fc3; $custom-light: #ab98d5; $custom-dark: #000000;
JSON
{
"hex": "#866fc3",
"rgb": {
"r": 134,
"g": 111,
"b": 195
},
"hsl": {
"h": 256.429,
"s": 41.176,
"l": 60
},
"oklch": {
"l": 0.59953,
"c": 0.12627,
"h": 294.9
},
"luminance": 0.20377
}Semantic roles & 50–950 ramp
primary
#866FC3
secondary
#CED7B7
accent
#D157B0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83