#A52E99#A52E99
#A52E99 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.194 H 332.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A52E99 |
|---|---|
| RGB | rgb(165, 46, 153) |
| HSL | hsl(306, 56%, 41%) |
| HSV | hsv(306, 72%, 65%) |
| CMYK | cmyk(0%, 72.1%, 7.3%, 35.3%) |
| CIE-LAB | lab(41.62, 59.77, -32.69) |
| CIE-LCH | lch(41.62, 68.12, 331.33°) |
| OKLab | oklab(52.23% 0.1718 -0.0898) |
| OKLCH | oklch(52.23% 0.194 332.4) |
| XYZ | xyz(22.2439, 12.2550, 31.3247) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Ugly Purple
#A442A0
ΔE00 3.55
Medium Purple
#9E43A2
ΔE00 3.90
Barney Purple
#A00498
ΔE00 4.28
Barney
#AC1DB8
ΔE00 5.37
Purply
#983FB2
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52E99 #2EA53A
analogous
#762EA5 #A52E99 #A52E5E
triadic
#A52E99 #99A52E #2E99A5
tetradic
#A52E99 #A5762E #2EA53A #2E5EA5
square
#A52E99 #A5762E #2EA53A #2E5EA5
split-complementary
#A52E99 #5EA52E #2EA576
monochromatic
#451340 #75216D #A52E99 #CB45BE #D875CE
Accessibility & contrast
On white
6.09
#A52E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A52E99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52E99
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52E99 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#AC3A60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a52e99; /* rgb */ color: rgb(165, 46, 153); /* oklch */ color: oklch(52.2% 0.194 332.4);
Tailwind
colors: {
custom: {
50: '#c372b7',
500: '#a52e99',
950: '#000000',
},
}SCSS
$custom: #a52e99; $custom-light: #c372b7; $custom-dark: #000000;
JSON
{
"hex": "#a52e99",
"rgb": {
"r": 165,
"g": 46,
"b": 153
},
"hsl": {
"h": 306.05,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.52226,
"c": 0.19383,
"h": 332.4
},
"luminance": 0.12253
}Semantic roles & 50–950 ramp
primary
#A52E99
secondary
#6FC077
accent
#E05748
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80