#8966BF#8966BF
#8966BF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.4% C 0.136 H 300.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8966BF |
|---|---|
| RGB | rgb(137, 102, 191) |
| HSL | hsl(264, 41%, 57%) |
| HSV | hsv(264, 47%, 75%) |
| CMYK | cmyk(28.3%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(50.20, 32.75, -41.78) |
| CIE-LCH | lch(50.20, 53.09, 308.10°) |
| OKLab | oklab(58.4% 0.0688 -0.1172) |
| OKLCH | oklch(58.4% 0.136 300.4) |
| XYZ | xyz(24.4697, 18.5826, 51.5778) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.13
Deep Lilac
#966EBD
ΔE00 4.10
Amethyst
#9B5FC0
ΔE00 4.46
Mediumpurple
#9370DB
ΔE00 5.56
Purpley
#8756E4
ΔE00 7.45
Royal Purple
#7851A9
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8966BF #9CBF66
analogous
#666FBF #8966BF #B666BF
triadic
#8966BF #BF8966 #66BF89
tetradic
#8966BF #BF666F #9CBF66 #66BFB6
square
#8966BF #BF666F #9CBF66 #66BFB6
split-complementary
#8966BF #BFB666 #6FBF66
monochromatic
#4E3278 #6A44A3 #8966BF #AA91D1 #CCBCE3
Accessibility & contrast
On white
4.45
#8966BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#8966BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8966BF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8966BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8966BF | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#7F7689
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #8966bf; /* rgb */ color: rgb(137, 102, 191); /* oklch */ color: oklch(58.4% 0.136 300.4);
Tailwind
colors: {
custom: {
50: '#ae92d3',
500: '#8966bf',
950: '#000000',
},
}SCSS
$custom: #8966bf; $custom-light: #ae92d3; $custom-dark: #000000;
JSON
{
"hex": "#8966bf",
"rgb": {
"r": 137,
"g": 102,
"b": 191
},
"hsl": {
"h": 263.596,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.584,
"c": 0.13587,
"h": 300.4
},
"luminance": 0.18583
}Semantic roles & 50–950 ramp
primary
#8966BF
secondary
#C4D2AE
accent
#D157A1
background
#FAF9FD
surface
#F5F1FA
border
#CFCBD3
text
#100D14
muted
#7F7E83