#A02B97#A02B97
#A02B97 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.193 H 331.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A02B97 |
|---|---|
| RGB | rgb(160, 43, 151) |
| HSL | hsl(305, 58%, 40%) |
| HSV | hsv(305, 73%, 63%) |
| CMYK | cmyk(0%, 73.1%, 5.6%, 37.3%) |
| CIE-LAB | lab(40.31, 59.31, -33.60) |
| CIE-LCH | lch(40.31, 68.17, 330.47°) |
| OKLab | oklab(51.09% 0.1694 -0.0925) |
| OKLCH | oklch(51.09% 0.193 331.4) |
| XYZ | xyz(20.9470, 11.4374, 30.3765) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.15
Barney Purple
#A00498
ΔE00 3.31
Ugly Purple
#A442A0
ΔE00 4.43
Medium Purple
#9E43A2
ΔE00 4.45
Barney
#AC1DB8
ΔE00 5.49
Purply
#983FB2
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A02B97 #2BA034
analogous
#6E2BA0 #A02B97 #A02B5D
triadic
#A02B97 #97A02B #2B97A0
tetradic
#A02B97 #A06E2B #2BA034 #2B5DA0
square
#A02B97 #A06E2B #2BA034 #2B5DA0
split-complementary
#A02B97 #5DA02B #2BA06E
monochromatic
#40113C #701E69 #A02B97 #CB3DC0 #D86ED0
Accessibility & contrast
On white
6.39
#A02B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A02B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A02B97
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A02B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A02B97 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21559A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A7395E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a02b97; /* rgb */ color: rgb(160, 43, 151); /* oklch */ color: oklch(51.1% 0.193 331.4);
Tailwind
colors: {
custom: {
50: '#c070b6',
500: '#a02b97',
950: '#000000',
},
}SCSS
$custom: #a02b97; $custom-light: #c070b6; $custom-dark: #000000;
JSON
{
"hex": "#a02b97",
"rgb": {
"r": 160,
"g": 43,
"b": 151
},
"hsl": {
"h": 304.615,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.51087,
"c": 0.19302,
"h": 331.4
},
"luminance": 0.11436
}Semantic roles & 50–950 ramp
primary
#A02B97
secondary
#68BF6F
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80