#A52A96#A52A96
#A52A96 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.196 H 333.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A52A96 |
|---|---|
| RGB | rgb(165, 42, 150) |
| HSL | hsl(307, 59%, 41%) |
| HSV | hsv(307, 75%, 65%) |
| CMYK | cmyk(0%, 74.5%, 9.1%, 35.3%) |
| CIE-LAB | lab(40.99, 60.64, -31.86) |
| CIE-LCH | lch(40.99, 68.50, 332.28°) |
| OKLab | oklab(51.72% 0.1755 -0.0874) |
| OKLCH | oklch(51.72% 0.196 333.5) |
| XYZ | xyz(21.8502, 11.8591, 29.9865) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.97
Barney Purple
#A00498
ΔE00 3.87
Ugly Purple
#A442A0
ΔE00 4.23
Medium Purple
#9E43A2
ΔE00 4.61
Barney
#AC1DB8
ΔE00 5.78
Purply
#983FB2
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52A96 #2AA539
analogous
#762AA5 #A52A96 #A52A58
triadic
#A52A96 #96A52A #2A96A5
tetradic
#A52A96 #A5762A #2AA539 #2A58A5
square
#A52A96 #A5762A #2AA539 #2A58A5
split-complementary
#A52A96 #58A52A #2AA576
monochromatic
#43113D #741E6A #A52A96 #CE3EBC #DA6FCD
Accessibility & contrast
On white
6.23
#A52A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#A52A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52A96
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52A96 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AD365D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a52a96; /* rgb */ color: rgb(165, 42, 150); /* oklch */ color: oklch(51.7% 0.196 333.5);
Tailwind
colors: {
custom: {
50: '#c371b5',
500: '#a52a96',
950: '#000000',
},
}SCSS
$custom: #a52a96; $custom-light: #c371b5; $custom-dark: #000000;
JSON
{
"hex": "#a52a96",
"rgb": {
"r": 165,
"g": 42,
"b": 150
},
"hsl": {
"h": 307.317,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.51724,
"c": 0.19607,
"h": 333.5
},
"luminance": 0.11857
}Semantic roles & 50–950 ramp
primary
#A52A96
secondary
#69C174
accent
#E35845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80