#A72B98#A72B98
#A72B98 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 333.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A72B98 |
|---|---|
| RGB | rgb(167, 43, 152) |
| HSL | hsl(307, 59%, 41%) |
| HSV | hsv(307, 74%, 65%) |
| CMYK | cmyk(0%, 74.3%, 9%, 34.5%) |
| CIE-LAB | lab(41.55, 61.09, -32.17) |
| CIE-LCH | lch(41.55, 69.04, 332.23°) |
| OKLab | oklab(52.23% 0.1768 -0.0882) |
| OKLCH | oklch(52.23% 0.198 333.5) |
| XYZ | xyz(22.4679, 12.2122, 30.8735) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.41
Ugly Purple
#A442A0
ΔE00 3.89
Barney Purple
#A00498
ΔE00 4.20
Medium Purple
#9E43A2
ΔE00 4.36
Barney
#AC1DB8
ΔE00 5.54
Purply
#983FB2
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A72B98 #2BA73A
analogous
#782BA7 #A72B98 #A72B5A
triadic
#A72B98 #98A72B #2B98A7
tetradic
#A72B98 #A7782B #2BA73A #2B5AA7
square
#A72B98 #A7782B #2BA73A #2B5AA7
split-complementary
#A72B98 #5AA72B #2BA778
monochromatic
#46123F #761E6C #A72B98 #CE41BD #DB72CE
Accessibility & contrast
On white
6.10
#A72B98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A72B98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A72B98
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A72B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A72B98 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#AF375F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a72b98; /* rgb */ color: rgb(167, 43, 152); /* oklch */ color: oklch(52.2% 0.198 333.5);
Tailwind
colors: {
custom: {
50: '#c571b6',
500: '#a72b98',
950: '#000000',
},
}SCSS
$custom: #a72b98; $custom-light: #c571b6; $custom-dark: #000000;
JSON
{
"hex": "#a72b98",
"rgb": {
"r": 167,
"g": 43,
"b": 152
},
"hsl": {
"h": 307.258,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.52226,
"c": 0.19753,
"h": 333.5
},
"luminance": 0.1221
}Semantic roles & 50–950 ramp
primary
#A72B98
secondary
#6CC276
accent
#E25946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80