#A42C96#A42C96
#A42C96 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.193 H 333.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A42C96 |
|---|---|
| RGB | rgb(164, 44, 150) |
| HSL | hsl(307, 58%, 41%) |
| HSV | hsv(307, 73%, 64%) |
| CMYK | cmyk(0%, 73.2%, 8.5%, 35.7%) |
| CIE-LAB | lab(41.05, 59.75, -31.78) |
| CIE-LCH | lch(41.05, 67.67, 331.99°) |
| OKLab | oklab(51.74% 0.1726 -0.0871) |
| OKLCH | oklch(51.74% 0.193 333.2) |
| XYZ | xyz(21.7157, 11.8977, 30.0010) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.86
Barney Purple
#A00498
ΔE00 3.99
Ugly Purple
#A442A0
ΔE00 4.04
Medium Purple
#9E43A2
ΔE00 4.39
Barney
#AC1DB8
ΔE00 5.80
Purply
#983FB2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42C96 #2CA43A
analogous
#762CA4 #A42C96 #A42C5A
triadic
#A42C96 #96A42C #2C96A4
tetradic
#A42C96 #A4762C #2CA43A #2C5AA4
square
#A42C96 #A4762C #2CA43A #2C5AA4
split-complementary
#A42C96 #5AA42C #2CA476
monochromatic
#43123E #741F6A #A42C96 #CC41BC #D971CD
Accessibility & contrast
On white
6.21
#A42C96 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A42C96 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42C96
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42C96 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#546793
Tritanopia (blue-blind)
#AB385E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42c96; /* rgb */ color: rgb(164, 44, 150); /* oklch */ color: oklch(51.7% 0.193 333.2);
Tailwind
colors: {
custom: {
50: '#c371b5',
500: '#a42c96',
950: '#000000',
},
}SCSS
$custom: #a42c96; $custom-light: #c371b5; $custom-dark: #000000;
JSON
{
"hex": "#a42c96",
"rgb": {
"r": 164,
"g": 44,
"b": 150
},
"hsl": {
"h": 307,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.51736,
"c": 0.19332,
"h": 333.2
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#A42C96
secondary
#6BC075
accent
#E15947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80