#A02C98#A02C98
#A02C98 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.193 H 331.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A02C98 |
|---|---|
| RGB | rgb(160, 44, 152) |
| HSL | hsl(304, 57%, 40%) |
| HSV | hsv(304, 73%, 63%) |
| CMYK | cmyk(0%, 72.5%, 5%, 37.3%) |
| CIE-LAB | lab(40.48, 59.13, -33.93) |
| CIE-LCH | lch(40.48, 68.17, 330.15°) |
| OKLab | oklab(51.23% 0.1685 -0.0935) |
| OKLCH | oklch(51.23% 0.193 331) |
| XYZ | xyz(21.0653, 11.5436, 30.8183) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.25
Barney Purple
#A00498
ΔE00 3.42
Medium Purple
#9E43A2
ΔE00 4.25
Ugly Purple
#A442A0
ΔE00 4.26
Barney
#AC1DB8
ΔE00 5.34
Purply
#983FB2
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02C98 #2CA034
analogous
#6E2CA0 #A02C98 #A02C5E
triadic
#A02C98 #98A02C #2C98A0
tetradic
#A02C98 #A06E2C #2CA034 #2C5EA0
square
#A02C98 #A06E2C #2CA034 #2C5EA0
split-complementary
#A02C98 #5EA02C #2CA06E
monochromatic
#40123D #701F6A #A02C98 #CA3FC1 #D76FD0
Accessibility & contrast
On white
6.35
#A02C98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A02C98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02C98
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02C98 | 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)
#22559B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#A63A5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02c98; /* rgb */ color: rgb(160, 44, 152); /* oklch */ color: oklch(51.2% 0.193 331.0);
Tailwind
colors: {
custom: {
50: '#c071b7',
500: '#a02c98',
950: '#000000',
},
}SCSS
$custom: #a02c98; $custom-light: #c071b7; $custom-dark: #000000;
JSON
{
"hex": "#a02c98",
"rgb": {
"r": 160,
"g": 44,
"b": 152
},
"hsl": {
"h": 304.138,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.51229,
"c": 0.19265,
"h": 331
},
"luminance": 0.11542
}Semantic roles & 50–950 ramp
primary
#A02C98
secondary
#69BF6F
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80