#A42B98#A42B98
#A42B98 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.8% C 0.196 H 332.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B98 |
|---|---|
| RGB | rgb(164, 43, 152) |
| HSL | hsl(306, 58%, 41%) |
| HSV | hsv(306, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 7.3%, 35.7%) |
| CIE-LAB | lab(41.04, 60.40, -33.01) |
| CIE-LCH | lch(41.04, 68.83, 331.34°) |
| OKLab | oklab(51.76% 0.1737 -0.0907) |
| OKLCH | oklch(51.76% 0.196 332.4) |
| XYZ | xyz(21.8413, 11.8891, 30.8442) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.87
Barney Purple
#A00498
ΔE00 3.76
Ugly Purple
#A442A0
ΔE00 4.05
Medium Purple
#9E43A2
ΔE00 4.31
Barney
#AC1DB8
ΔE00 5.40
Purply
#983FB2
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B98 #2BA437
analogous
#732BA4 #A42B98 #A42B5C
triadic
#A42B98 #98A42B #2B98A4
tetradic
#A42B98 #A4732B #2BA437 #2B5CA4
square
#A42B98 #A4732B #2BA437 #2B5CA4
split-complementary
#A42B98 #5CA42B #2BA473
monochromatic
#43123E #741E6B #A42B98 #CD3FBF #D970CF
Accessibility & contrast
On white
6.22
#A42B98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A42B98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B98
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B98 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#AB385F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b98; /* rgb */ color: rgb(164, 43, 152); /* oklch */ color: oklch(51.8% 0.196 332.4);
Tailwind
colors: {
custom: {
50: '#c371b7',
500: '#a42b98',
950: '#000000',
},
}SCSS
$custom: #a42b98; $custom-light: #c371b7; $custom-dark: #000000;
JSON
{
"hex": "#a42b98",
"rgb": {
"r": 164,
"g": 43,
"b": 152
},
"hsl": {
"h": 305.95,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.5176,
"c": 0.19591,
"h": 332.4
},
"luminance": 0.11887
}Semantic roles & 50–950 ramp
primary
#A42B98
secondary
#6AC173
accent
#E25646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80