#A42B9D#A42B9D
#A42B9D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 330.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B9D |
|---|---|
| RGB | rgb(164, 43, 157) |
| HSL | hsl(303, 58%, 41%) |
| HSV | hsv(303, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 4.3%, 35.7%) |
| CIE-LAB | lab(41.31, 61.19, -35.60) |
| CIE-LCH | lch(41.31, 70.80, 329.81°) |
| OKLab | oklab(52.04% 0.1739 -0.0982) |
| OKLCH | oklch(52.04% 0.2 330.5) |
| XYZ | xyz(22.2595, 12.0563, 33.0465) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.20
Barney Purple
#A00498
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 3.92
Medium Purple
#9E43A2
ΔE00 3.97
Barney
#AC1DB8
ΔE00 4.49
Purply
#983FB2
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B9D #2BA432
analogous
#6E2BA4 #A42B9D #A42B60
triadic
#A42B9D #9DA42B #2B9DA4
tetradic
#A42B9D #A46E2B #2BA432 #2B60A4
square
#A42B9D #A46E2B #2BA432 #2B60A4
split-complementary
#A42B9D #60A42B #2BA46E
monochromatic
#431240 #741E6F #A42B9D #CD3FC5 #D970D3
Accessibility & contrast
On white
6.16
#A42B9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#A42B9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B9D
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B9D | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AA3B62
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b9d; /* rgb */ color: rgb(164, 43, 157); /* oklch */ color: oklch(52.0% 0.200 330.5);
Tailwind
colors: {
custom: {
50: '#c371ba',
500: '#a42b9d',
950: '#000000',
},
}SCSS
$custom: #a42b9d; $custom-light: #c371ba; $custom-dark: #000000;
JSON
{
"hex": "#a42b9d",
"rgb": {
"r": 164,
"g": 43,
"b": 157
},
"hsl": {
"h": 303.471,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.52037,
"c": 0.19966,
"h": 330.5
},
"luminance": 0.12055
}Semantic roles & 50–950 ramp
primary
#A42B9D
secondary
#6AC16F
accent
#E24F46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81