#9B2AA2#9B2AA2
#9B2AA2 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 325.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9B2AA2 |
|---|---|
| RGB | rgb(155, 42, 162) |
| HSL | hsl(297, 59%, 40%) |
| HSV | hsv(297, 74%, 64%) |
| CMYK | cmyk(4.3%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(39.97, 60.37, -40.82) |
| CIE-LCH | lch(39.97, 72.87, 325.94°) |
| OKLab | oklab(50.89% 0.165 -0.1136) |
| OKLCH | oklch(50.89% 0.2 325.5) |
| XYZ | xyz(20.8667, 11.2345, 35.2448) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.39
Warm Purple
#952E8F
ΔE00 3.42
Barney
#AC1DB8
ΔE00 3.97
Purply
#983FB2
ΔE00 4.45
Medium Purple
#9E43A2
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B2AA2 #31A22A
analogous
#5F2AA2 #9B2AA2 #A22A6D
triadic
#9B2AA2 #A29B2A #2AA29B
tetradic
#9B2AA2 #A25F2A #31A22A #2A6DA2
square
#9B2AA2 #A25F2A #31A22A #2A6DA2
split-complementary
#9B2AA2 #6DA22A #2AA25F
monochromatic
#3E1141 #6D1D71 #9B2AA2 #C43DCD #D36DD9
Accessibility & contrast
On white
6.47
#9B2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#9B2AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B2AA2
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B2AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B2AA2 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9F3F64
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9b2aa2; /* rgb */ color: rgb(155, 42, 162); /* oklch */ color: oklch(50.9% 0.200 325.5);
Tailwind
colors: {
custom: {
50: '#bc70be',
500: '#9b2aa2',
950: '#000000',
},
}SCSS
$custom: #9b2aa2; $custom-light: #bc70be; $custom-dark: #000000;
JSON
{
"hex": "#9b2aa2",
"rgb": {
"r": 155,
"g": 42,
"b": 162
},
"hsl": {
"h": 296.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.50885,
"c": 0.20027,
"h": 325.5
},
"luminance": 0.11233
}Semantic roles & 50–950 ramp
primary
#9B2AA2
secondary
#6DC068
accent
#E2464F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81