#8666CB#8666CB
#8666CB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.151 H 296.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8666CB |
|---|---|
| RGB | rgb(134, 102, 203) |
| HSL | hsl(259, 49%, 60%) |
| HSV | hsv(259, 50%, 80%) |
| CMYK | cmyk(34%, 49.8%, 0%, 20.4%) |
| CIE-LAB | lab(50.55, 35.04, -48.12) |
| CIE-LCH | lch(50.55, 59.53, 306.06°) |
| OKLab | oklab(58.81% 0.0664 -0.1358) |
| OKLCH | oklch(58.81% 0.151 296) |
| XYZ | xyz(25.3597, 18.8825, 58.7969) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.38
Deep Lavender
#8D5EB7
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.69
Deep Lilac
#966EBD
ΔE00 5.82
Amethyst
#9B5FC0
ΔE00 5.85
Mediumslateblue
#7B68EE
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8666CB #ABCB66
analogous
#6679CB #8666CB #B966CB
triadic
#8666CB #CB8666 #66CB86
tetradic
#8666CB #CB6679 #ABCB66 #66CBB9
square
#8666CB #CB6679 #ABCB66 #66CBB9
split-complementary
#8666CB #CBB966 #79CB66
monochromatic
#4B2E88 #643EB6 #8666CB #AA94DB #CEC1EA
Accessibility & contrast
On white
4.40
#8666CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#8666CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8666CB
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8666CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8666CB | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#767A8F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #8666cb; /* rgb */ color: rgb(134, 102, 203); /* oklch */ color: oklch(58.8% 0.151 296.0);
Tailwind
colors: {
custom: {
50: '#ac92db',
500: '#8666cb',
950: '#000000',
},
}SCSS
$custom: #8666cb; $custom-light: #ac92db; $custom-dark: #000000;
JSON
{
"hex": "#8666cb",
"rgb": {
"r": 134,
"g": 102,
"b": 203
},
"hsl": {
"h": 259.01,
"s": 49.268,
"l": 59.804
},
"oklch": {
"l": 0.58806,
"c": 0.15116,
"h": 296
},
"luminance": 0.18883
}Semantic roles & 50–950 ramp
primary
#8666CB
secondary
#CEDAB3
accent
#D94FAD
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83