#9B219E#9B219E
#9B219E is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9B219E |
|---|---|
| RGB | rgb(155, 33, 158) |
| HSL | hsl(299, 65%, 37%) |
| HSV | hsv(299, 79%, 62%) |
| CMYK | cmyk(1.9%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(38.77, 62.46, -40.33) |
| CIE-LCH | lch(38.77, 74.35, 327.15°) |
| OKLab | oklab(49.95% 0.1729 -0.1121) |
| OKLCH | oklch(49.95% 0.206 327) |
| XYZ | xyz(20.2327, 10.5264, 33.3073) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.17
Warm Purple
#952E8F
ΔE00 3.11
Barney
#AC1DB8
ΔE00 4.64
Darkmagenta
#8B008B
ΔE00 5.16
Purply
#983FB2
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B219E #249E21
analogous
#5D219E #9B219E #9E2163
triadic
#9B219E #9E9B21 #219E9B
tetradic
#9B219E #9E5D21 #249E21 #21639E
square
#9B219E #9E5D21 #249E21 #21639E
split-complementary
#9B219E #639E21 #219E5D
monochromatic
#380C39 #69166B #9B219E #CD2CD1 #DA5CDD
Accessibility & contrast
On white
6.76
#9B219E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9B219E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B219E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B219E | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#43609B
Tritanopia (blue-blind)
#A03860
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9b219e; /* rgb */ color: rgb(155, 33, 158); /* oklch */ color: oklch(50.0% 0.206 327.0);
Tailwind
colors: {
custom: {
50: '#bc6cbb',
500: '#9b219e',
950: '#000000',
},
}SCSS
$custom: #9b219e; $custom-light: #bc6cbb; $custom-dark: #000000;
JSON
{
"hex": "#9b219e",
"rgb": {
"r": 155,
"g": 33,
"b": 158
},
"hsl": {
"h": 298.56,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.49953,
"c": 0.20601,
"h": 327
},
"luminance": 0.10525
}Semantic roles & 50–950 ramp
primary
#9B219E
secondary
#5CC159
accent
#E83F43
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81