#A02A96#A02A96
#A02A96 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.193 H 331.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A02A96 |
|---|---|
| RGB | rgb(160, 42, 150) |
| HSL | hsl(305, 58%, 40%) |
| HSV | hsv(305, 74%, 63%) |
| CMYK | cmyk(0%, 73.8%, 6.2%, 37.3%) |
| CIE-LAB | lab(40.14, 59.49, -33.27) |
| CIE-LCH | lch(40.14, 68.16, 330.79°) |
| OKLab | oklab(50.95% 0.1703 -0.0915) |
| OKLCH | oklch(50.95% 0.193 331.7) |
| XYZ | xyz(20.8302, 11.3332, 29.9387) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.08
Barney Purple
#A00498
ΔE00 3.21
Ugly Purple
#A442A0
ΔE00 4.60
Medium Purple
#9E43A2
ΔE00 4.65
Barney
#AC1DB8
ΔE00 5.65
Purply
#983FB2
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02A96 #2AA034
analogous
#6F2AA0 #A02A96 #A02A5B
triadic
#A02A96 #96A02A #2A96A0
tetradic
#A02A96 #A06F2A #2AA034 #2A5BA0
square
#A02A96 #A06F2A #2AA034 #2A5BA0
split-complementary
#A02A96 #5BA02A #2AA06F
monochromatic
#3F113B #701D69 #A02A96 #CC3CBF #D86CCF
Accessibility & contrast
On white
6.43
#A02A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#A02A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02A96
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02A96 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#A7385D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02a96; /* rgb */ color: rgb(160, 42, 150); /* oklch */ color: oklch(50.9% 0.193 331.7);
Tailwind
colors: {
custom: {
50: '#c070b5',
500: '#a02a96',
950: '#000000',
},
}SCSS
$custom: #a02a96; $custom-light: #c070b5; $custom-dark: #000000;
JSON
{
"hex": "#a02a96",
"rgb": {
"r": 160,
"g": 42,
"b": 150
},
"hsl": {
"h": 305.085,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.50946,
"c": 0.19337,
"h": 331.7
},
"luminance": 0.11332
}Semantic roles & 50–950 ramp
primary
#A02A96
secondary
#67BF6E
accent
#E25346
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80