#866FCC#866FCC
#866FCC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.5% C 0.139 H 293.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #866FCC |
|---|---|
| RGB | rgb(134, 111, 204) |
| HSL | hsl(255, 48%, 62%) |
| HSV | hsv(255, 46%, 80%) |
| CMYK | cmyk(34.3%, 45.6%, 0%, 20%) |
| CIE-LAB | lab(52.73, 30.05, -45.24) |
| CIE-LCH | lch(52.73, 54.31, 303.60°) |
| OKLab | oklab(60.46% 0.0546 -0.1274) |
| OKLCH | oklch(60.46% 0.139 293.2) |
| XYZ | xyz(26.4122, 20.7963, 59.7376) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.29
Deep Lilac
#966EBD
ΔE00 5.47
Mediumslateblue
#7B68EE
ΔE00 6.23
Deep Lavender
#8D5EB7
ΔE00 7.00
Amethyst
#9B5FC0
ΔE00 7.52
Purpley
#8756E4
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866FCC #B5CC6F
analogous
#6F87CC #866FCC #B56FCC
triadic
#866FCC #CC866F #6FCC86
tetradic
#866FCC #CC6F87 #B5CC6F #6FCCB5
square
#866FCC #CC6F87 #B5CC6F #6FCCB5
split-complementary
#866FCC #CCB56F #87CC6F
monochromatic
#49328E #6042BB #866FCC #AC9CDC #D2C9EC
Accessibility & contrast
On white
4.07
#866FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#866FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #866FCC
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##866FCC | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#758194
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #866fcc; /* rgb */ color: rgb(134, 111, 204); /* oklch */ color: oklch(60.5% 0.139 293.2);
Tailwind
colors: {
custom: {
50: '#ac98dc',
500: '#866fcc',
950: '#000000',
},
}SCSS
$custom: #866fcc; $custom-light: #ac98dc; $custom-dark: #000000;
JSON
{
"hex": "#866fcc",
"rgb": {
"r": 134,
"g": 111,
"b": 204
},
"hsl": {
"h": 254.839,
"s": 47.692,
"l": 61.765
},
"oklch": {
"l": 0.60456,
"c": 0.13856,
"h": 293.2
},
"luminance": 0.20797
}Semantic roles & 50–950 ramp
primary
#866FCC
secondary
#D4DDBA
accent
#BB2B97
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83