#A52B9E#A52B9E
#A52B9E is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.201 H 330.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A52B9E |
|---|---|
| RGB | rgb(165, 43, 158) |
| HSL | hsl(303, 59%, 41%) |
| HSV | hsv(303, 74%, 65%) |
| CMYK | cmyk(0%, 73.9%, 4.2%, 35.3%) |
| CIE-LAB | lab(41.53, 61.58, -35.84) |
| CIE-LCH | lch(41.53, 71.25, 329.80°) |
| OKLab | oklab(52.25% 0.1749 -0.0989) |
| OKLCH | oklch(52.25% 0.201 330.5) |
| XYZ | xyz(22.5524, 12.1975, 33.5077) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Barney Purple
#A00498
ΔE00 3.82
Ugly Purple
#A442A0
ΔE00 3.83
Medium Purple
#9E43A2
ΔE00 3.91
Barney
#AC1DB8
ΔE00 4.35
Purply
#983FB2
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52B9E #2BA532
analogous
#6F2BA5 #A52B9E #A52B61
triadic
#A52B9E #9EA52B #2B9EA5
tetradic
#A52B9E #A56F2B #2BA532 #2B61A5
square
#A52B9E #A56F2B #2BA532 #2B61A5
split-complementary
#A52B9E #61A52B #2BA56F
monochromatic
#441241 #741E70 #A52B9E #CD40C5 #DA71D4
Accessibility & contrast
On white
6.11
#A52B9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A52B9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52B9E
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52B9E | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#50689B
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52b9e; /* rgb */ color: rgb(165, 43, 158); /* oklch */ color: oklch(52.2% 0.201 330.5);
Tailwind
colors: {
custom: {
50: '#c371bb',
500: '#a52b9e',
950: '#000000',
},
}SCSS
$custom: #a52b9e; $custom-light: #c371bb; $custom-dark: #000000;
JSON
{
"hex": "#a52b9e",
"rgb": {
"r": 165,
"g": 43,
"b": 158
},
"hsl": {
"h": 303.443,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.52247,
"c": 0.20094,
"h": 330.5
},
"luminance": 0.12196
}Semantic roles & 50–950 ramp
primary
#A52B9E
secondary
#6BC170
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81