#A42A96#A42A96
#A42A96 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.196 H 333.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A96 |
|---|---|
| RGB | rgb(164, 42, 150) |
| HSL | hsl(307, 59%, 40%) |
| HSV | hsv(307, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 8.5%, 35.7%) |
| CIE-LAB | lab(40.82, 60.41, -32.14) |
| CIE-LCH | lch(40.82, 68.43, 331.98°) |
| OKLab | oklab(51.57% 0.1745 -0.0882) |
| OKLCH | oklch(51.57% 0.196 333.2) |
| XYZ | xyz(21.6430, 11.7523, 29.9768) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.78
Barney Purple
#A00498
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 4.60
Barney
#AC1DB8
ΔE00 5.74
Purply
#983FB2
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A96 #2AA438
analogous
#752AA4 #A42A96 #A42A59
triadic
#A42A96 #96A42A #2A96A4
tetradic
#A42A96 #A4752A #2AA438 #2A59A4
square
#A42A96 #A4752A #2AA438 #2A59A4
split-complementary
#A42A96 #59A42A #2AA475
monochromatic
#43113D #731E69 #A42A96 #CD3EBD #DA6ECE
Accessibility & contrast
On white
6.27
#A42A96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#A42A96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A96
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A96 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#536693
Tritanopia (blue-blind)
#AB365D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a42a96; /* rgb */ color: rgb(164, 42, 150); /* oklch */ color: oklch(51.6% 0.196 333.2);
Tailwind
colors: {
custom: {
50: '#c370b5',
500: '#a42a96',
950: '#000000',
},
}SCSS
$custom: #a42a96; $custom-light: #c370b5; $custom-dark: #000000;
JSON
{
"hex": "#a42a96",
"rgb": {
"r": 164,
"g": 42,
"b": 150
},
"hsl": {
"h": 306.885,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.51568,
"c": 0.19552,
"h": 333.2
},
"luminance": 0.1175
}Semantic roles & 50–950 ramp
primary
#A42A96
secondary
#69C173
accent
#E25745
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80