#9B4BB2#9B4BB2
#9B4BB2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.171 H 318.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4BB2 |
|---|---|
| RGB | rgb(155, 75, 178) |
| HSL | hsl(287, 41%, 50%) |
| HSV | hsv(287, 58%, 70%) |
| CMYK | cmyk(12.9%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.93, 49.40, -40.84) |
| CIE-LCH | lch(45.93, 64.09, 320.41°) |
| OKLab | oklab(55.48% 0.1272 -0.1139) |
| OKLCH | oklch(55.48% 0.171 318.2) |
| XYZ | xyz(24.0684, 15.2160, 43.7800) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.84
Medium Purple
#9E43A2
ΔE00 3.59
Ugly Purple
#A442A0
ΔE00 4.58
Amethyst
#9B5FC0
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4BB2 #62B24B
analogous
#684BB2 #9B4BB2 #B24B96
triadic
#9B4BB2 #B29B4B #4BB29B
tetradic
#9B4BB2 #B2684B #62B24B #4B96B2
square
#9B4BB2 #B2684B #62B24B #4B96B2
split-complementary
#9B4BB2 #96B24B #4BB268
monochromatic
#50275C #763987 #9B4BB2 #B375C5 #CBA0D7
Accessibility & contrast
On white
5.19
#9B4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#9B4BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4BB2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4BB2 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#9B5B77
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9b4bb2; /* rgb */ color: rgb(155, 75, 178); /* oklch */ color: oklch(55.5% 0.171 318.2);
Tailwind
colors: {
custom: {
50: '#bb81c9',
500: '#9b4bb2',
950: '#000000',
},
}SCSS
$custom: #9b4bb2; $custom-light: #bb81c9; $custom-dark: #000000;
JSON
{
"hex": "#9b4bb2",
"rgb": {
"r": 155,
"g": 75,
"b": 178
},
"hsl": {
"h": 286.602,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.55481,
"c": 0.1707,
"h": 318.2
},
"luminance": 0.15215
}Semantic roles & 50–950 ramp
primary
#9B4BB2
secondary
#9FC495
accent
#D15772
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82