#9B2AA9#9B2AA9
#9B2AA9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.206 H 323.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2AA9 |
|---|---|
| RGB | rgb(155, 42, 169) |
| HSL | hsl(293, 60%, 41%) |
| HSV | hsv(293, 75%, 66%) |
| CMYK | cmyk(8.3%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(40.39, 61.60, -44.33) |
| CIE-LCH | lch(40.39, 75.90, 324.26°) |
| OKLab | oklab(51.32% 0.1646 -0.1238) |
| OKLCH | oklch(51.32% 0.206 323) |
| XYZ | xyz(21.5063, 11.4904, 38.6135) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.25
Purply
#983FB2
ΔE00 3.73
Barney Purple
#A00498
ΔE00 4.22
Warm Purple
#952E8F
ΔE00 4.62
Medium Purple
#9E43A2
ΔE00 4.99
Ugly Purple
#A442A0
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2AA9 #38A92A
analogous
#5C2AA9 #9B2AA9 #A92A78
triadic
#9B2AA9 #A99B2A #2AA99B
tetradic
#9B2AA9 #A95C2A #38A92A #2A78A9
square
#9B2AA9 #A95C2A #38A92A #2A78A9
split-complementary
#9B2AA9 #78A92A #2AA95C
monochromatic
#411247 #6E1E78 #9B2AA9 #C041D0 #D072DC
Accessibility & contrast
On white
6.37
#9B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9B2AA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2AA9
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2AA9 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#3F64A6
Tritanopia (blue-blind)
#9D4268
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9b2aa9; /* rgb */ color: rgb(155, 42, 169); /* oklch */ color: oklch(51.3% 0.206 323.0);
Tailwind
colors: {
custom: {
50: '#bc70c3',
500: '#9b2aa9',
950: '#000000',
},
}SCSS
$custom: #9b2aa9; $custom-light: #bc70c3; $custom-dark: #000000;
JSON
{
"hex": "#9b2aa9",
"rgb": {
"r": 155,
"g": 42,
"b": 169
},
"hsl": {
"h": 293.386,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.51321,
"c": 0.20598,
"h": 323
},
"luminance": 0.11489
}Semantic roles & 50–950 ramp
primary
#9B2AA9
secondary
#75C36C
accent
#E34456
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81