#A42E9C#A42E9C
#A42E9C is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 330.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E9C |
|---|---|
| RGB | rgb(164, 46, 156) |
| HSL | hsl(304, 56%, 41%) |
| HSV | hsv(304, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 4.9%, 35.7%) |
| CIE-LAB | lab(41.61, 60.01, -34.52) |
| CIE-LCH | lch(41.61, 69.24, 330.09°) |
| OKLab | oklab(52.24% 0.1709 -0.0951) |
| OKLCH | oklch(52.24% 0.196 330.9) |
| XYZ | xyz(22.2875, 12.2485, 32.6364) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.23
Ugly Purple
#A442A0
ΔE00 3.51
Medium Purple
#9E43A2
ΔE00 3.66
Barney Purple
#A00498
ΔE00 4.09
Barney
#AC1DB8
ΔE00 4.79
Purply
#983FB2
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E9C #2EA436
analogous
#712EA4 #A42E9C #A42E61
triadic
#A42E9C #9CA42E #2E9CA4
tetradic
#A42E9C #A4712E #2EA436 #2E61A4
square
#A42E9C #A4712E #2EA436 #2E61A4
split-complementary
#A42E9C #61A42E #2EA471
monochromatic
#441341 #74216F #A42E9C #CB45C2 #D874D1
Accessibility & contrast
On white
6.09
#A42E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A42E9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E9C
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E9C | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#AA3C62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a42e9c; /* rgb */ color: rgb(164, 46, 156); /* oklch */ color: oklch(52.2% 0.196 330.9);
Tailwind
colors: {
custom: {
50: '#c272b9',
500: '#a42e9c',
950: '#000000',
},
}SCSS
$custom: #a42e9c; $custom-light: #c272b9; $custom-dark: #000000;
JSON
{
"hex": "#a42e9c",
"rgb": {
"r": 164,
"g": 46,
"b": 156
},
"hsl": {
"h": 304.068,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.52237,
"c": 0.19556,
"h": 330.9
},
"luminance": 0.12247
}Semantic roles & 50–950 ramp
primary
#A42E9C
secondary
#6EC074
accent
#DF5348
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80