#9B219C#9B219C
#9B219C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 327.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9B219C |
|---|---|
| RGB | rgb(155, 33, 156) |
| HSL | hsl(300, 65%, 37%) |
| HSV | hsv(300, 79%, 61%) |
| CMYK | cmyk(0.6%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(38.65, 62.13, -39.31) |
| CIE-LCH | lch(38.65, 73.52, 327.68°) |
| OKLab | oklab(49.83% 0.173 -0.1091) |
| OKLCH | oklch(49.83% 0.204 327.8) |
| XYZ | xyz(20.0619, 10.4581, 32.4080) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.98
Warm Purple
#952E8F
ΔE00 2.81
Barney
#AC1DB8
ΔE00 4.90
Darkmagenta
#8B008B
ΔE00 5.03
Medium Purple
#9E43A2
ΔE00 5.78
Purply
#983FB2
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B219C #229C21
analogous
#5E219C #9B219C #9C2160
triadic
#9B219C #9C9B21 #219C9B
tetradic
#9B219C #9C5E21 #229C21 #21609C
square
#9B219C #9C5E21 #229C21 #21609C
split-complementary
#9B219C #609C21 #219C5E
monochromatic
#370C37 #691669 #9B219C #CD2CCF #DB5BDC
Accessibility & contrast
On white
6.79
#9B219C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9B219C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B219C
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B219C | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#A0365E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9b219c; /* rgb */ color: rgb(155, 33, 156); /* oklch */ color: oklch(49.8% 0.204 327.8);
Tailwind
colors: {
custom: {
50: '#bc6cba',
500: '#9b219c',
950: '#000000',
},
}SCSS
$custom: #9b219c; $custom-light: #bc6cba; $custom-dark: #000000;
JSON
{
"hex": "#9b219c",
"rgb": {
"r": 155,
"g": 33,
"b": 156
},
"hsl": {
"h": 299.512,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.49831,
"c": 0.20449,
"h": 327.8
},
"luminance": 0.10457
}Semantic roles & 50–950 ramp
primary
#9B219C
secondary
#59C158
accent
#E84041
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80