#A5209F#A5209F
#A5209F is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.212 H 330.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A5209F |
|---|---|
| RGB | rgb(165, 32, 159) |
| HSL | hsl(303, 68%, 39%) |
| HSV | hsv(303, 81%, 65%) |
| CMYK | cmyk(0%, 80.6%, 3.6%, 35.3%) |
| CIE-LAB | lab(40.47, 64.93, -38.12) |
| CIE-LCH | lch(40.47, 75.30, 329.59°) |
| OKLab | oklab(51.51% 0.1842 -0.1054) |
| OKLCH | oklch(51.51% 0.212 330.2) |
| XYZ | xyz(22.2915, 11.5374, 33.8470) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.64
Warm Purple
#952E8F
ΔE00 3.50
Barney
#AC1DB8
ΔE00 4.05
Medium Purple
#9E43A2
ΔE00 5.07
Ugly Purple
#A442A0
ΔE00 5.13
Purply
#983FB2
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5209F #20A526
analogous
#6820A5 #A5209F #A5205C
triadic
#A5209F #9FA520 #209FA5
tetradic
#A5209F #A56820 #20A526 #205CA5
square
#A5209F #A56820 #20A526 #205CA5
split-complementary
#A5209F #5CA520 #20A568
monochromatic
#3E0C3C #72166E #A5209F #D62CCE #E05FDA
Accessibility & contrast
On white
6.35
#A5209F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A5209F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5209F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5209F | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0554A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#AB3560
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a5209f; /* rgb */ color: rgb(165, 32, 159); /* oklch */ color: oklch(51.5% 0.212 330.2);
Tailwind
colors: {
custom: {
50: '#c46dbc',
500: '#a5209f',
950: '#000000',
},
}SCSS
$custom: #a5209f; $custom-light: #c46dbc; $custom-dark: #000000;
JSON
{
"hex": "#a5209f",
"rgb": {
"r": 165,
"g": 32,
"b": 159
},
"hsl": {
"h": 302.707,
"s": 67.513,
"l": 38.627
},
"oklch": {
"l": 0.5151,
"c": 0.21218,
"h": 330.2
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#A5209F
secondary
#5CC561
accent
#EA453D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81