#866FC2#866FC2
#866FC2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 59.9% C 0.125 H 295.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #866FC2 |
|---|---|
| RGB | rgb(134, 111, 194) |
| HSL | hsl(257, 40%, 60%) |
| HSV | hsv(257, 43%, 76%) |
| CMYK | cmyk(30.9%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(52.21, 27.42, -40.34) |
| CIE-LCH | lch(52.21, 48.77, 304.21°) |
| OKLab | oklab(59.9% 0.053 -0.1131) |
| OKLCH | oklch(59.9% 0.125 295.1) |
| XYZ | xyz(25.2512, 20.3319, 53.6226) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 4.34
Mediumpurple
#9370DB
ΔE00 4.60
Deep Lavender
#8D5EB7
ΔE00 6.21
Amethyst
#9B5FC0
ΔE00 7.05
Mediumslateblue
#7B68EE
ΔE00 7.98
Light Indigo
#6D5ACF
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FC2 #ABC26F
analogous
#6F81C2 #866FC2 #B06FC2
triadic
#866FC2 #C2866F #6FC286
tetradic
#866FC2 #C26F81 #ABC26F #6FC2B0
square
#866FC2 #C26F81 #ABC26F #6FC2B0
split-complementary
#866FC2 #C2B06F #81C26F
monochromatic
#4B3680 #6449AB #866FC2 #AA9AD4 #CEC5E6
Accessibility & contrast
On white
4.14
#866FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#866FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FC2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FC2 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567DC5
Deuteranopia (green-blind)
#5A7BC0
Tritanopia (blue-blind)
#797E8F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #866fc2; /* rgb */ color: rgb(134, 111, 194); /* oklch */ color: oklch(59.9% 0.125 295.1);
Tailwind
colors: {
custom: {
50: '#ab98d5',
500: '#866fc2',
950: '#000000',
},
}SCSS
$custom: #866fc2; $custom-light: #ab98d5; $custom-dark: #000000;
JSON
{
"hex": "#866fc2",
"rgb": {
"r": 134,
"g": 111,
"b": 194
},
"hsl": {
"h": 256.627,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.59899,
"c": 0.1249,
"h": 295.1
},
"luminance": 0.20332
}Semantic roles & 50–950 ramp
primary
#866FC2
secondary
#CED6B6
accent
#D057AF
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83