#A62FA1#A62FA1
#A62FA1 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 329.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A62FA1 |
|---|---|
| RGB | rgb(166, 47, 161) |
| HSL | hsl(303, 56%, 42%) |
| HSV | hsv(303, 72%, 65%) |
| CMYK | cmyk(0%, 71.7%, 3%, 34.9%) |
| CIE-LAB | lab(42.33, 60.94, -36.36) |
| CIE-LCH | lch(42.33, 70.97, 329.18°) |
| OKLab | oklab(52.91% 0.1722 -0.1004) |
| OKLCH | oklch(52.91% 0.199 329.8) |
| XYZ | xyz(23.1753, 12.7150, 34.9449) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.22
Medium Purple
#9E43A2
ΔE00 3.31
Warm Purple
#952E8F
ΔE00 4.00
Barney
#AC1DB8
ΔE00 4.05
Barney Purple
#A00498
ΔE00 4.55
Purply
#983FB2
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A62FA1 #2FA634
analogous
#702FA6 #A62FA1 #A62F66
triadic
#A62FA1 #A1A62F #2FA1A6
tetradic
#A62FA1 #A6702F #2FA634 #2F66A6
square
#A62FA1 #A6702F #2FA634 #2F66A6
split-complementary
#A62FA1 #66A62F #2FA670
monochromatic
#471444 #762173 #A62FA1 #CB47C5 #D877D4
Accessibility & contrast
On white
5.93
#A62FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#A62FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A62FA1
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A62FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A62FA1 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#516A9E
Tritanopia (blue-blind)
#AC3F65
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a62fa1; /* rgb */ color: rgb(166, 47, 161); /* oklch */ color: oklch(52.9% 0.199 329.8);
Tailwind
colors: {
custom: {
50: '#c473bd',
500: '#a62fa1',
950: '#000000',
},
}SCSS
$custom: #a62fa1; $custom-light: #c473bd; $custom-dark: #000000;
JSON
{
"hex": "#a62fa1",
"rgb": {
"r": 166,
"g": 47,
"b": 161
},
"hsl": {
"h": 302.521,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.52907,
"c": 0.19933,
"h": 329.8
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#A62FA1
secondary
#70C174
accent
#DF4F49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81