#A02C97#A02C97
#A02C97 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.192 H 331.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A02C97 |
|---|---|
| RGB | rgb(160, 44, 151) |
| HSL | hsl(305, 57%, 40%) |
| HSV | hsv(305, 73%, 63%) |
| CMYK | cmyk(0%, 72.5%, 5.6%, 37.3%) |
| CIE-LAB | lab(40.43, 58.97, -33.41) |
| CIE-LCH | lch(40.43, 67.78, 330.46°) |
| OKLab | oklab(51.17% 0.1684 -0.092) |
| OKLCH | oklch(51.17% 0.192 331.4) |
| XYZ | xyz(20.9838, 11.5110, 30.3888) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.18
Barney Purple
#A00498
ΔE00 3.45
Ugly Purple
#A442A0
ΔE00 4.30
Medium Purple
#9E43A2
ΔE00 4.33
Barney
#AC1DB8
ΔE00 5.51
Purply
#983FB2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02C97 #2CA035
analogous
#6F2CA0 #A02C97 #A02C5D
triadic
#A02C97 #97A02C #2C97A0
tetradic
#A02C97 #A06F2C #2CA035 #2C5DA0
square
#A02C97 #A06F2C #2CA035 #2C5DA0
split-complementary
#A02C97 #5DA02C #2CA06F
monochromatic
#40123C #701F6A #A02C97 #CA3FBF #D76FCF
Accessibility & contrast
On white
6.36
#A02C97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#A02C97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02C97
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02C97 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A7395E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02c97; /* rgb */ color: rgb(160, 44, 151); /* oklch */ color: oklch(51.2% 0.192 331.4);
Tailwind
colors: {
custom: {
50: '#c071b6',
500: '#a02c97',
950: '#000000',
},
}SCSS
$custom: #a02c97; $custom-light: #c071b6; $custom-dark: #000000;
JSON
{
"hex": "#a02c97",
"rgb": {
"r": 160,
"g": 44,
"b": 151
},
"hsl": {
"h": 304.655,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.51173,
"c": 0.19189,
"h": 331.4
},
"luminance": 0.11509
}Semantic roles & 50–950 ramp
primary
#A02C97
secondary
#69BF70
accent
#E05348
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80