#A42B99#A42B99
#A42B99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 332.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B99 |
|---|---|
| RGB | rgb(164, 43, 153) |
| HSL | hsl(305, 58%, 41%) |
| HSV | hsv(305, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 6.7%, 35.7%) |
| CIE-LAB | lab(41.09, 60.55, -33.53) |
| CIE-LCH | lch(41.09, 69.22, 331.03°) |
| OKLab | oklab(51.82% 0.1737 -0.0922) |
| OKLCH | oklch(51.82% 0.197 332) |
| XYZ | xyz(21.9235, 11.9220, 31.2773) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.91
Barney Purple
#A00498
ΔE00 3.72
Ugly Purple
#A442A0
ΔE00 4.01
Medium Purple
#9E43A2
ΔE00 4.22
Barney
#AC1DB8
ΔE00 5.21
Purply
#983FB2
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B99 #2BA436
analogous
#732BA4 #A42B99 #A42B5C
triadic
#A42B99 #99A42B #2B99A4
tetradic
#A42B99 #A4732B #2BA436 #2B5CA4
square
#A42B99 #A4732B #2BA436 #2B5CA4
split-complementary
#A42B99 #5CA42B #2BA473
monochromatic
#43123F #741E6C #A42B99 #CD3FC0 #D970D0
Accessibility & contrast
On white
6.21
#A42B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A42B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B99
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B99 | 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)
#23569C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AB395F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b99; /* rgb */ color: rgb(164, 43, 153); /* oklch */ color: oklch(51.8% 0.197 332.0);
Tailwind
colors: {
custom: {
50: '#c371b7',
500: '#a42b99',
950: '#000000',
},
}SCSS
$custom: #a42b99; $custom-light: #c371b7; $custom-dark: #000000;
JSON
{
"hex": "#a42b99",
"rgb": {
"r": 164,
"g": 43,
"b": 153
},
"hsl": {
"h": 305.455,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.51815,
"c": 0.19666,
"h": 332
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#A42B99
secondary
#6AC172
accent
#E25446
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80