#A62F97#A62F97
#A62F97 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 333.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A62F97 |
|---|---|
| RGB | rgb(166, 47, 151) |
| HSL | hsl(308, 56%, 42%) |
| HSV | hsv(308, 72%, 65%) |
| CMYK | cmyk(0%, 71.7%, 9%, 34.9%) |
| CIE-LAB | lab(41.81, 59.34, -31.17) |
| CIE-LCH | lch(41.81, 67.03, 332.29°) |
| OKLab | oklab(52.36% 0.1717 -0.0854) |
| OKLCH | oklch(52.36% 0.192 333.6) |
| XYZ | xyz(22.3285, 12.3763, 30.4850) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.43
Ugly Purple
#A442A0
ΔE00 3.51
Medium Purple
#9E43A2
ΔE00 4.05
Barney Purple
#A00498
ΔE00 4.65
Barney
#AC1DB8
ΔE00 5.85
Purply
#983FB2
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A62F97 #2FA63E
analogous
#7A2FA6 #A62F97 #A62F5C
triadic
#A62F97 #97A62F #2F97A6
tetradic
#A62F97 #A67A2F #2FA63E #2F5CA6
square
#A62F97 #A67A2F #2FA63E #2F5CA6
split-complementary
#A62F97 #5CA62F #2FA67A
monochromatic
#471440 #76216C #A62F97 #CB47BA #D877CC
Accessibility & contrast
On white
6.04
#A62F97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#A62F97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A62F97
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A62F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A62F97 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B589A
Deuteranopia (green-blind)
#566994
Tritanopia (blue-blind)
#AE3A5F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a62f97; /* rgb */ color: rgb(166, 47, 151); /* oklch */ color: oklch(52.4% 0.192 333.6);
Tailwind
colors: {
custom: {
50: '#c473b6',
500: '#a62f97',
950: '#000000',
},
}SCSS
$custom: #a62f97; $custom-light: #c473b6; $custom-dark: #000000;
JSON
{
"hex": "#a62f97",
"rgb": {
"r": 166,
"g": 47,
"b": 151
},
"hsl": {
"h": 307.563,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.52361,
"c": 0.19173,
"h": 333.6
},
"luminance": 0.12374
}Semantic roles & 50–950 ramp
primary
#A62F97
secondary
#70C17A
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80