#866BCD#866BCD
#866BCD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.8% C 0.146 H 294.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #866BCD |
|---|---|
| RGB | rgb(134, 107, 205) |
| HSL | hsl(257, 49%, 61%) |
| HSV | hsv(257, 48%, 80%) |
| CMYK | cmyk(34.6%, 47.8%, 0%, 19.6%) |
| CIE-LAB | lab(51.83, 32.66, -47.23) |
| CIE-LCH | lch(51.83, 57.42, 304.66°) |
| OKLab | oklab(59.8% 0.06 -0.1332) |
| OKLCH | oklch(59.8% 0.146 294.2) |
| XYZ | xyz(26.1058, 19.9910, 60.2290) |
| Luminance | 0.1999 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.40
Deep Lilac
#966EBD
ΔE00 5.62
Mediumslateblue
#7B68EE
ΔE00 5.77
Deep Lavender
#8D5EB7
ΔE00 6.16
Purpley
#8756E4
ΔE00 6.76
Amethyst
#9B5FC0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866BCD #B2CD6B
analogous
#6B81CD #866BCD #B76BCD
triadic
#866BCD #CD866B #6BCD86
tetradic
#866BCD #CD6B81 #B2CD6B #6BCDB7
square
#866BCD #CD6B81 #B2CD6B #6BCDB7
split-complementary
#866BCD #CDB76B #81CD6B
monochromatic
#4A308E #623FBB #866BCD #AB99DC #D1C6EC
Accessibility & contrast
On white
4.20
#866BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#866BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866BCD
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866BCD | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#757E92
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #866bcd; /* rgb */ color: rgb(134, 107, 205); /* oklch */ color: oklch(59.8% 0.146 294.2);
Tailwind
colors: {
custom: {
50: '#ac96dd',
500: '#866bcd',
950: '#000000',
},
}SCSS
$custom: #866bcd; $custom-light: #ac96dd; $custom-dark: #000000;
JSON
{
"hex": "#866bcd",
"rgb": {
"r": 134,
"g": 107,
"b": 205
},
"hsl": {
"h": 256.531,
"s": 49.495,
"l": 61.176
},
"oklch": {
"l": 0.59798,
"c": 0.14609,
"h": 294.2
},
"luminance": 0.19992
}Semantic roles & 50–950 ramp
primary
#866BCD
secondary
#D2DCB8
accent
#BD2994
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83