#A72FA1#A72FA1
#A72FA1 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.1% C 0.200 H 330.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A72FA1 |
|---|---|
| RGB | rgb(167, 47, 161) |
| HSL | hsl(303, 56%, 42%) |
| HSV | hsv(303, 72%, 65%) |
| CMYK | cmyk(0%, 71.9%, 3.6%, 34.5%) |
| CIE-LAB | lab(42.50, 61.17, -36.09) |
| CIE-LCH | lch(42.50, 71.02, 329.46°) |
| OKLab | oklab(53.06% 0.1733 -0.0996) |
| OKLCH | oklch(53.06% 0.2 330.1) |
| XYZ | xyz(23.3858, 12.8235, 34.9548) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.14
Medium Purple
#9E43A2
ΔE00 3.32
Barney
#AC1DB8
ΔE00 4.11
Warm Purple
#952E8F
ΔE00 4.13
Barney Purple
#A00498
ΔE00 4.66
Purply
#983FB2
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A72FA1 #2FA735
analogous
#712FA7 #A72FA1 #A72F65
triadic
#A72FA1 #A1A72F #2FA1A7
tetradic
#A72FA1 #A7712F #2FA735 #2F65A7
square
#A72FA1 #A7712F #2FA735 #2F65A7
split-complementary
#A72FA1 #65A72F #2FA771
monochromatic
#471445 #772273 #A72FA1 #CB48C5 #D978D4
Accessibility & contrast
On white
5.89
#A72FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#A72FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A72FA1
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A72FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A72FA1 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#AD3E65
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a72fa1; /* rgb */ color: rgb(167, 47, 161); /* oklch */ color: oklch(53.1% 0.200 330.1);
Tailwind
colors: {
custom: {
50: '#c573bd',
500: '#a72fa1',
950: '#000000',
},
}SCSS
$custom: #a72fa1; $custom-light: #c573bd; $custom-dark: #000000;
JSON
{
"hex": "#a72fa1",
"rgb": {
"r": 167,
"g": 47,
"b": 161
},
"hsl": {
"h": 303,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.53058,
"c": 0.19985,
"h": 330.1
},
"luminance": 0.12822
}Semantic roles & 50–950 ramp
primary
#A72FA1
secondary
#71C175
accent
#DF5048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81