#A52A9F#A52A9F
#A52A9F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.203 H 330.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A52A9F |
|---|---|
| RGB | rgb(165, 42, 159) |
| HSL | hsl(303, 59%, 41%) |
| HSV | hsv(303, 75%, 65%) |
| CMYK | cmyk(0%, 74.5%, 3.6%, 35.3%) |
| CIE-LAB | lab(41.47, 62.06, -36.54) |
| CIE-LCH | lch(41.47, 72.02, 329.51°) |
| OKLab | oklab(52.22% 0.1759 -0.1009) |
| OKLCH | oklch(52.22% 0.203 330.2) |
| XYZ | xyz(22.6029, 12.1602, 33.9509) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.50
Barney Purple
#A00498
ΔE00 3.71
Ugly Purple
#A442A0
ΔE00 3.97
Medium Purple
#9E43A2
ΔE00 3.99
Barney
#AC1DB8
ΔE00 4.14
Purply
#983FB2
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52A9F #2AA530
analogous
#6D2AA5 #A52A9F #A52A61
triadic
#A52A9F #9FA52A #2A9FA5
tetradic
#A52A9F #A56D2A #2AA530 #2A61A5
square
#A52A9F #A56D2A #2AA530 #2A61A5
split-complementary
#A52A9F #61A52A #2AA56D
monochromatic
#431141 #741E70 #A52A9F #CE3EC7 #DA6FD5
Accessibility & contrast
On white
6.12
#A52A9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#A52A9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52A9F
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52A9F | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A57A2
Deuteranopia (green-blind)
#4F689C
Tritanopia (blue-blind)
#AB3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52a9f; /* rgb */ color: rgb(165, 42, 159); /* oklch */ color: oklch(52.2% 0.203 330.2);
Tailwind
colors: {
custom: {
50: '#c371bc',
500: '#a52a9f',
950: '#000000',
},
}SCSS
$custom: #a52a9f; $custom-light: #c371bc; $custom-dark: #000000;
JSON
{
"hex": "#a52a9f",
"rgb": {
"r": 165,
"g": 42,
"b": 159
},
"hsl": {
"h": 302.927,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.52222,
"c": 0.20276,
"h": 330.2
},
"luminance": 0.12158
}Semantic roles & 50–950 ramp
primary
#A52A9F
secondary
#69C16E
accent
#E34D45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81