#A42E9E#A42E9E
#A42E9E is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.197 H 330.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E9E |
|---|---|
| RGB | rgb(164, 46, 158) |
| HSL | hsl(303, 56%, 41%) |
| HSV | hsv(303, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 3.7%, 35.7%) |
| CIE-LAB | lab(41.72, 60.34, -35.56) |
| CIE-LCH | lch(41.72, 70.04, 329.49°) |
| OKLab | oklab(52.35% 0.171 -0.0981) |
| OKLCH | oklch(52.35% 0.197 330.2) |
| XYZ | xyz(22.4583, 12.3168, 33.5357) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Ugly Purple
#A442A0
ΔE00 3.50
Medium Purple
#9E43A2
ΔE00 3.55
Barney Purple
#A00498
ΔE00 4.11
Barney
#AC1DB8
ΔE00 4.43
Purply
#983FB2
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E9E #2EA434
analogous
#6F2EA4 #A42E9E #A42E63
triadic
#A42E9E #9EA42E #2E9EA4
tetradic
#A42E9E #A46F2E #2EA434 #2E63A4
square
#A42E9E #A46F2E #2EA434 #2E63A4
split-complementary
#A42E9E #63A42E #2EA46F
monochromatic
#441342 #742170 #A42E9E #CB45C4 #D874D3
Accessibility & contrast
On white
6.06
#A42E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#A42E9E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E9E
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E9E | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2158A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AA3D63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a42e9e; /* rgb */ color: rgb(164, 46, 158); /* oklch */ color: oklch(52.3% 0.197 330.2);
Tailwind
colors: {
custom: {
50: '#c272bb',
500: '#a42e9e',
950: '#000000',
},
}SCSS
$custom: #a42e9e; $custom-light: #c272bb; $custom-dark: #000000;
JSON
{
"hex": "#a42e9e",
"rgb": {
"r": 164,
"g": 46,
"b": 158
},
"hsl": {
"h": 303.051,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.52349,
"c": 0.19711,
"h": 330.2
},
"luminance": 0.12315
}Semantic roles & 50–950 ramp
primary
#A42E9E
secondary
#6EC072
accent
#DF5048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81