#A525A9#A525A9
#A525A9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.215 H 326.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A525A9 |
|---|---|
| RGB | rgb(165, 37, 169) |
| HSL | hsl(298, 64%, 40%) |
| HSV | hsv(298, 78%, 66%) |
| CMYK | cmyk(2.4%, 78.1%, 0%, 33.7%) |
| CIE-LAB | lab(41.51, 65.20, -42.45) |
| CIE-LCH | lch(41.51, 77.80, 326.93°) |
| OKLab | oklab(52.44% 0.18 -0.118) |
| OKLCH | oklch(52.44% 0.215 326.8) |
| XYZ | xyz(23.3396, 12.1887, 38.6518) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.40
Barney Purple
#A00498
ΔE00 3.95
Purply
#983FB2
ΔE00 4.43
Medium Purple
#9E43A2
ΔE00 4.63
Warm Purple
#952E8F
ΔE00 4.72
Ugly Purple
#A442A0
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A525A9 #29A925
analogous
#6325A9 #A525A9 #A9256B
triadic
#A525A9 #A9A525 #25A9A5
tetradic
#A525A9 #A96325 #29A925 #256BA9
square
#A525A9 #A96325 #29A925 #256BA9
split-complementary
#A525A9 #6BA925 #25A963
monochromatic
#430F45 #741A77 #A525A9 #CF38D3 #DB6ADE
Accessibility & contrast
On white
6.11
#A525A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A525A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A525A9
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A525A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A525A9 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#AA3D67
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a525a9; /* rgb */ color: rgb(165, 37, 169); /* oklch */ color: oklch(52.4% 0.215 326.8);
Tailwind
colors: {
custom: {
50: '#c46fc3',
500: '#a525a9',
950: '#000000',
},
}SCSS
$custom: #a525a9; $custom-light: #c46fc3; $custom-dark: #000000;
JSON
{
"hex": "#a525a9",
"rgb": {
"r": 165,
"g": 37,
"b": 169
},
"hsl": {
"h": 298.182,
"s": 64.078,
"l": 40.392
},
"oklch": {
"l": 0.52438,
"c": 0.21524,
"h": 326.8
},
"luminance": 0.12187
}Semantic roles & 50–950 ramp
primary
#A525A9
secondary
#68C465
accent
#E74146
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81