#A72F98#A72F98
#A72F98 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.193 H 333.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A72F98 |
|---|---|
| RGB | rgb(167, 47, 152) |
| HSL | hsl(308, 56%, 42%) |
| HSV | hsv(308, 72%, 65%) |
| CMYK | cmyk(0%, 71.9%, 9%, 34.5%) |
| CIE-LAB | lab(42.03, 59.74, -31.42) |
| CIE-LCH | lch(42.03, 67.50, 332.26°) |
| OKLab | oklab(52.57% 0.1728 -0.0861) |
| OKLCH | oklch(52.57% 0.193 333.5) |
| XYZ | xyz(22.6205, 12.5174, 30.9244) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.40
Warm Purple
#952E8F
ΔE00 3.63
Medium Purple
#9E43A2
ΔE00 3.98
Barney Purple
#A00498
ΔE00 4.75
Barney
#AC1DB8
ΔE00 5.73
Purply
#983FB2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A72F98 #2FA73E
analogous
#7A2FA7 #A72F98 #A72F5C
triadic
#A72F98 #98A72F #2F98A7
tetradic
#A72F98 #A77A2F #2FA73E #2F5CA7
square
#A72F98 #A77A2F #2FA73E #2F5CA7
split-complementary
#A72F98 #5CA72F #2FA77A
monochromatic
#471441 #77226D #A72F98 #CB48BB #D978CD
Accessibility & contrast
On white
5.99
#A72F98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#A72F98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A72F98
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A72F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A72F98 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#AF3A60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a72f98; /* rgb */ color: rgb(167, 47, 152); /* oklch */ color: oklch(52.6% 0.193 333.5);
Tailwind
colors: {
custom: {
50: '#c573b6',
500: '#a72f98',
950: '#000000',
},
}SCSS
$custom: #a72f98; $custom-light: #c573b6; $custom-dark: #000000;
JSON
{
"hex": "#a72f98",
"rgb": {
"r": 167,
"g": 47,
"b": 152
},
"hsl": {
"h": 307.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.52568,
"c": 0.19304,
"h": 333.5
},
"luminance": 0.12516
}Semantic roles & 50–950 ramp
primary
#A72F98
secondary
#71C17B
accent
#DF5B48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80