#A536A2#A536A2
#A536A2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.191 H 329.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A536A2 |
|---|---|
| RGB | rgb(165, 54, 162) |
| HSL | hsl(302, 51%, 43%) |
| HSV | hsv(302, 67%, 65%) |
| CMYK | cmyk(0%, 67.3%, 1.8%, 35.3%) |
| CIE-LAB | lab(43.13, 58.29, -35.70) |
| CIE-LCH | lch(43.13, 68.36, 328.52°) |
| OKLab | oklab(53.47% 0.1638 -0.0985) |
| OKLCH | oklch(53.47% 0.191 329) |
| XYZ | xyz(23.3576, 13.2480, 35.5023) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.25
Medium Purple
#9E43A2
ΔE00 2.35
Barney
#AC1DB8
ΔE00 4.39
Warm Purple
#952E8F
ΔE00 4.45
Purply
#983FB2
ΔE00 4.52
Barney Purple
#A00498
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A536A2 #36A539
analogous
#7136A5 #A536A2 #A5366A
triadic
#A536A2 #A2A536 #36A2A5
tetradic
#A536A2 #A57136 #36A539 #366AA5
square
#A536A2 #A57136 #36A539 #366AA5
split-complementary
#A536A2 #6AA536 #36A571
monochromatic
#491847 #772775 #A536A2 #C652C3 #D580D3
Accessibility & contrast
On white
5.75
#A536A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#A536A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A536A2
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A536A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A536A2 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#AB4468
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a536a2; /* rgb */ color: rgb(165, 54, 162); /* oklch */ color: oklch(53.5% 0.191 329.0);
Tailwind
colors: {
custom: {
50: '#c376be',
500: '#a536a2',
950: '#000000',
},
}SCSS
$custom: #a536a2; $custom-light: #c376be; $custom-dark: #000000;
JSON
{
"hex": "#a536a2",
"rgb": {
"r": 165,
"g": 54,
"b": 162
},
"hsl": {
"h": 301.622,
"s": 50.685,
"l": 42.941
},
"oklch": {
"l": 0.53472,
"c": 0.19115,
"h": 329
},
"luminance": 0.13246
}Semantic roles & 50–950 ramp
primary
#A536A2
secondary
#78BF7A
accent
#DA514E
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81