#8766C0#8766C0
#8766C0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.3% C 0.137 H 299.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8766C0 |
|---|---|
| RGB | rgb(135, 102, 192) |
| HSL | hsl(262, 42%, 58%) |
| HSV | hsv(262, 47%, 75%) |
| CMYK | cmyk(29.7%, 46.9%, 0%, 24.7%) |
| CIE-LAB | lab(50.05, 32.45, -42.60) |
| CIE-LCH | lch(50.05, 53.55, 307.30°) |
| OKLab | oklab(58.26% 0.0664 -0.1196) |
| OKLCH | oklch(58.26% 0.137 299) |
| XYZ | xyz(24.2552, 18.4592, 52.1441) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.47
Deep Lilac
#966EBD
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 5.49
Purpley
#8756E4
ΔE00 7.20
Light Indigo
#6D5ACF
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8766C0 #9FC066
analogous
#6672C0 #8766C0 #B466C0
triadic
#8766C0 #C08766 #66C087
tetradic
#8766C0 #C06672 #9FC066 #66C0B4
square
#8766C0 #C06672 #9FC066 #66C0B4
split-complementary
#8766C0 #C0B466 #72C066
monochromatic
#4C327A #6744A5 #8766C0 #A991D2 #CBBDE4
Accessibility & contrast
On white
4.48
#8766C0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#8766C0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8766C0
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8766C0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8766C0 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#7B768A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8766c0; /* rgb */ color: rgb(135, 102, 192); /* oklch */ color: oklch(58.3% 0.137 299.0);
Tailwind
colors: {
custom: {
50: '#ac92d3',
500: '#8766c0',
950: '#000000',
},
}SCSS
$custom: #8766c0; $custom-light: #ac92d3; $custom-dark: #000000;
JSON
{
"hex": "#8766c0",
"rgb": {
"r": 135,
"g": 102,
"b": 192
},
"hsl": {
"h": 262,
"s": 41.667,
"l": 57.647
},
"oklch": {
"l": 0.5826,
"c": 0.13683,
"h": 299
},
"luminance": 0.18459
}Semantic roles & 50–950 ramp
primary
#8766C0
secondary
#C6D3AF
accent
#D156A4
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83