#9B66BF#9B66BF
#9B66BF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.141 H 310.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9B66BF |
|---|---|
| RGB | rgb(155, 102, 191) |
| HSL | hsl(276, 41%, 57%) |
| HSV | hsv(276, 47%, 75%) |
| CMYK | cmyk(18.8%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(52.10, 37.85, -38.64) |
| CIE-LCH | lch(52.10, 54.09, 314.41°) |
| OKLab | oklab(60.26% 0.0911 -0.1076) |
| OKLCH | oklch(60.26% 0.141 310.3) |
| XYZ | xyz(27.6712, 20.2333, 51.7278) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.04
Deep Lilac
#966EBD
ΔE00 2.74
Deep Lavender
#8D5EB7
ΔE00 3.91
Soft Purple
#A66FB5
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 6.45
Mediumorchid
#BA55D3
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B66BF #8ABF66
analogous
#6E66BF #9B66BF #BF66B7
triadic
#9B66BF #BF9B66 #66BF9B
tetradic
#9B66BF #BF6E66 #8ABF66 #66B7BF
square
#9B66BF #BF6E66 #8ABF66 #66B7BF
split-complementary
#9B66BF #B7BF66 #66BF6E
monochromatic
#5C3278 #7D44A3 #9B66BF #B791D1 #D3BCE3
Accessibility & contrast
On white
4.16
#9B66BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#9B66BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B66BF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B66BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B66BF | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517AC2
Deuteranopia (green-blind)
#607DBD
Tritanopia (blue-blind)
#977489
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9b66bf; /* rgb */ color: rgb(155, 102, 191); /* oklch */ color: oklch(60.3% 0.141 310.3);
Tailwind
colors: {
custom: {
50: '#ba93d2',
500: '#9b66bf',
950: '#000000',
},
}SCSS
$custom: #9b66bf; $custom-light: #ba93d2; $custom-dark: #000000;
JSON
{
"hex": "#9b66bf",
"rgb": {
"r": 155,
"g": 102,
"b": 191
},
"hsl": {
"h": 275.73,
"s": 41.014,
"l": 57.451
},
"oklch": {
"l": 0.60261,
"c": 0.14104,
"h": 310.3
},
"luminance": 0.20233
}Semantic roles & 50–950 ramp
primary
#9B66BF
secondary
#BDD2AE
accent
#D15788
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82