#8766BF#8766BF
#8766BF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.136 H 299.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8766BF |
|---|---|
| RGB | rgb(135, 102, 191) |
| HSL | hsl(262, 41%, 57%) |
| HSV | hsv(262, 47%, 75%) |
| CMYK | cmyk(29.3%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(50.00, 32.20, -42.11) |
| CIE-LCH | lch(50.00, 53.01, 307.41°) |
| OKLab | oklab(58.2% 0.0663 -0.1182) |
| OKLCH | oklch(58.2% 0.136 299.3) |
| XYZ | xyz(24.1448, 18.4151, 51.5625) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.38
Deep Lilac
#966EBD
ΔE00 4.46
Amethyst
#9B5FC0
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 5.63
Purpley
#8756E4
ΔE00 7.36
Light Indigo
#6D5ACF
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8766BF #9EBF66
analogous
#6672BF #8766BF #B366BF
triadic
#8766BF #BF8766 #66BF87
tetradic
#8766BF #BF6672 #9EBF66 #66BFB3
square
#8766BF #BF6672 #9EBF66 #66BFB3
split-complementary
#8766BF #BFB366 #72BF66
monochromatic
#4C3278 #6844A3 #8766BF #A991D1 #CBBCE3
Accessibility & contrast
On white
4.48
#8766BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#8766BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8766BF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8766BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8766BF | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#7C7689
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8766bf; /* rgb */ color: rgb(135, 102, 191); /* oklch */ color: oklch(58.2% 0.136 299.3);
Tailwind
colors: {
custom: {
50: '#ac92d3',
500: '#8766bf',
950: '#000000',
},
}SCSS
$custom: #8766bf; $custom-light: #ac92d3; $custom-dark: #000000;
JSON
{
"hex": "#8766bf",
"rgb": {
"r": 135,
"g": 102,
"b": 191
},
"hsl": {
"h": 262.247,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.58204,
"c": 0.13551,
"h": 299.3
},
"luminance": 0.18415
}Semantic roles & 50–950 ramp
primary
#8766BF
secondary
#C5D2AE
accent
#D157A4
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83