#A42B97#A42B97
#A42B97 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.195 H 332.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B97 |
|---|---|
| RGB | rgb(164, 43, 151) |
| HSL | hsl(306, 58%, 41%) |
| HSV | hsv(306, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 7.9%, 35.7%) |
| CIE-LAB | lab(40.99, 60.24, -32.49) |
| CIE-LCH | lch(40.99, 68.44, 331.66°) |
| OKLab | oklab(51.71% 0.1736 -0.0892) |
| OKLCH | oklch(51.71% 0.195 332.8) |
| XYZ | xyz(21.7597, 11.8564, 30.4146) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.83
Barney Purple
#A00498
ΔE00 3.80
Ugly Purple
#A442A0
ΔE00 4.11
Medium Purple
#9E43A2
ΔE00 4.40
Barney
#AC1DB8
ΔE00 5.58
Purply
#983FB2
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B97 #2BA438
analogous
#742BA4 #A42B97 #A42B5B
triadic
#A42B97 #97A42B #2B97A4
tetradic
#A42B97 #A4742B #2BA438 #2B5BA4
square
#A42B97 #A4742B #2BA438 #2B5BA4
split-complementary
#A42B97 #5BA42B #2BA474
monochromatic
#43123E #741E6A #A42B97 #CD3FBE #D970CE
Accessibility & contrast
On white
6.23
#A42B97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#A42B97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B97
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B97 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#AB385E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b97; /* rgb */ color: rgb(164, 43, 151); /* oklch */ color: oklch(51.7% 0.195 332.8);
Tailwind
colors: {
custom: {
50: '#c371b6',
500: '#a42b97',
950: '#000000',
},
}SCSS
$custom: #a42b97; $custom-light: #c371b6; $custom-dark: #000000;
JSON
{
"hex": "#a42b97",
"rgb": {
"r": 164,
"g": 43,
"b": 151
},
"hsl": {
"h": 306.446,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.51705,
"c": 0.19517,
"h": 332.8
},
"luminance": 0.11855
}Semantic roles & 50–950 ramp
primary
#A42B97
secondary
#6AC173
accent
#E25746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80