#A42B96#A42B96
#A42B96 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.7% C 0.194 H 333.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B96 |
|---|---|
| RGB | rgb(164, 43, 150) |
| HSL | hsl(307, 58%, 41%) |
| HSV | hsv(307, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 8.5%, 35.7%) |
| CIE-LAB | lab(40.94, 60.08, -31.96) |
| CIE-LCH | lch(40.94, 68.06, 331.99°) |
| OKLab | oklab(51.65% 0.1735 -0.0877) |
| OKLCH | oklch(51.65% 0.194 333.2) |
| XYZ | xyz(21.6789, 11.8241, 29.9888) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.82
Barney Purple
#A00498
ΔE00 3.86
Ugly Purple
#A442A0
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 4.49
Barney
#AC1DB8
ΔE00 5.77
Purply
#983FB2
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B96 #2BA439
analogous
#752BA4 #A42B96 #A42B59
triadic
#A42B96 #96A42B #2B96A4
tetradic
#A42B96 #A4752B #2BA439 #2B59A4
square
#A42B96 #A4752B #2BA439 #2B59A4
split-complementary
#A42B96 #59A42B #2BA475
monochromatic
#43123D #741E6A #A42B96 #CD3FBC #D970CD
Accessibility & contrast
On white
6.24
#A42B96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#A42B96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B96
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B96 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AB375E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a42b96; /* rgb */ color: rgb(164, 43, 150); /* oklch */ color: oklch(51.7% 0.194 333.2);
Tailwind
colors: {
custom: {
50: '#c371b5',
500: '#a42b96',
950: '#000000',
},
}SCSS
$custom: #a42b96; $custom-light: #c371b5; $custom-dark: #000000;
JSON
{
"hex": "#a42b96",
"rgb": {
"r": 164,
"g": 43,
"b": 150
},
"hsl": {
"h": 306.942,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.51651,
"c": 0.19443,
"h": 333.2
},
"luminance": 0.11822
}Semantic roles & 50–950 ramp
primary
#A42B96
secondary
#6AC174
accent
#E25846
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80