#A02B98#A02B98
#A02B98 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A02B98 |
|---|---|
| RGB | rgb(160, 43, 152) |
| HSL | hsl(304, 58%, 40%) |
| HSV | hsv(304, 73%, 63%) |
| CMYK | cmyk(0%, 73.1%, 5%, 37.3%) |
| CIE-LAB | lab(40.36, 59.47, -34.12) |
| CIE-LCH | lch(40.36, 68.57, 330.15°) |
| OKLab | oklab(51.14% 0.1695 -0.094) |
| OKLCH | oklch(51.14% 0.194 331) |
| XYZ | xyz(21.0285, 11.4700, 30.8061) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.23
Barney Purple
#A00498
ΔE00 3.28
Medium Purple
#9E43A2
ΔE00 4.37
Ugly Purple
#A442A0
ΔE00 4.40
Barney
#AC1DB8
ΔE00 5.31
Purply
#983FB2
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02B98 #2BA033
analogous
#6E2BA0 #A02B98 #A02B5D
triadic
#A02B98 #98A02B #2B98A0
tetradic
#A02B98 #A06E2B #2BA033 #2B5DA0
square
#A02B98 #A06E2B #2BA033 #2B5DA0
split-complementary
#A02B98 #5DA02B #2BA06E
monochromatic
#40113C #701E6A #A02B98 #CB3DC1 #D86ED1
Accessibility & contrast
On white
6.38
#A02B98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A02B98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02B98
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02B98 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#A6395F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02b98; /* rgb */ color: rgb(160, 43, 152); /* oklch */ color: oklch(51.1% 0.194 331.0);
Tailwind
colors: {
custom: {
50: '#c070b7',
500: '#a02b98',
950: '#000000',
},
}SCSS
$custom: #a02b98; $custom-light: #c070b7; $custom-dark: #000000;
JSON
{
"hex": "#a02b98",
"rgb": {
"r": 160,
"g": 43,
"b": 152
},
"hsl": {
"h": 304.103,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.51143,
"c": 0.19378,
"h": 331
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#A02B98
secondary
#68BF6E
accent
#E15147
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80