#A42C99#A42C99
#A42C99 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.196 H 332.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A42C99 |
|---|---|
| RGB | rgb(164, 44, 153) |
| HSL | hsl(306, 58%, 41%) |
| HSV | hsv(306, 73%, 64%) |
| CMYK | cmyk(0%, 73.2%, 6.7%, 35.7%) |
| CIE-LAB | lab(41.21, 60.22, -33.34) |
| CIE-LCH | lch(41.21, 68.83, 331.03°) |
| OKLab | oklab(51.9% 0.1727 -0.0917) |
| OKLCH | oklch(51.9% 0.196 332) |
| XYZ | xyz(21.9603, 11.9956, 31.2896) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.95
Barney Purple
#A00498
ΔE00 3.86
Ugly Purple
#A442A0
ΔE00 3.88
Medium Purple
#9E43A2
ΔE00 4.11
Barney
#AC1DB8
ΔE00 5.25
Purply
#983FB2
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42C99 #2CA437
analogous
#732CA4 #A42C99 #A42C5D
triadic
#A42C99 #99A42C #2C99A4
tetradic
#A42C99 #A4732C #2CA437 #2C5DA4
square
#A42C99 #A4732C #2CA437 #2C5DA4
split-complementary
#A42C99 #5DA42C #2CA473
monochromatic
#43123F #741F6C #A42C99 #CC41BF #D971D0
Accessibility & contrast
On white
6.18
#A42C99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#A42C99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42C99
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42C99 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#AB3960
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42c99; /* rgb */ color: rgb(164, 44, 153); /* oklch */ color: oklch(51.9% 0.196 332.0);
Tailwind
colors: {
custom: {
50: '#c371b7',
500: '#a42c99',
950: '#000000',
},
}SCSS
$custom: #a42c99; $custom-light: #c371b7; $custom-dark: #000000;
JSON
{
"hex": "#a42c99",
"rgb": {
"r": 164,
"g": 44,
"b": 153
},
"hsl": {
"h": 305.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.51899,
"c": 0.19555,
"h": 332
},
"luminance": 0.11994
}Semantic roles & 50–950 ramp
primary
#A42C99
secondary
#6BC073
accent
#E15547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80