#A52B97#A52B97
#A52B97 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.196 H 333.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A52B97 |
|---|---|
| RGB | rgb(165, 43, 151) |
| HSL | hsl(307, 59%, 41%) |
| HSV | hsv(307, 74%, 65%) |
| CMYK | cmyk(0%, 73.9%, 8.5%, 35.3%) |
| CIE-LAB | lab(41.16, 60.47, -32.20) |
| CIE-LCH | lch(41.16, 68.51, 331.96°) |
| OKLab | oklab(51.86% 0.1746 -0.0884) |
| OKLCH | oklch(51.86% 0.196 333.2) |
| XYZ | xyz(21.9670, 11.9633, 30.4244) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.02
Barney Purple
#A00498
ΔE00 3.94
Ugly Purple
#A442A0
ΔE00 4.05
Medium Purple
#9E43A2
ΔE00 4.41
Barney
#AC1DB8
ΔE00 5.63
Purply
#983FB2
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52B97 #2BA539
analogous
#762BA5 #A52B97 #A52B5A
triadic
#A52B97 #97A52B #2B97A5
tetradic
#A52B97 #A5762B #2BA539 #2B5AA5
square
#A52B97 #A5762B #2BA539 #2B5AA5
split-complementary
#A52B97 #5AA52B #2BA576
monochromatic
#44123E #741E6B #A52B97 #CD40BD #DA71CE
Accessibility & contrast
On white
6.19
#A52B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#A52B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52B97
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52B97 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#546794
Tritanopia (blue-blind)
#AD375E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a52b97; /* rgb */ color: rgb(165, 43, 151); /* oklch */ color: oklch(51.9% 0.196 333.2);
Tailwind
colors: {
custom: {
50: '#c371b6',
500: '#a52b97',
950: '#000000',
},
}SCSS
$custom: #a52b97; $custom-light: #c371b6; $custom-dark: #000000;
JSON
{
"hex": "#a52b97",
"rgb": {
"r": 165,
"g": 43,
"b": 151
},
"hsl": {
"h": 306.885,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.51861,
"c": 0.19572,
"h": 333.2
},
"luminance": 0.11961
}Semantic roles & 50–950 ramp
primary
#A52B97
secondary
#6BC175
accent
#E25846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80