#AB429E#AB429E
#AB429E is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.175 H 332.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #AB429E |
|---|---|
| RGB | rgb(171, 66, 158) |
| HSL | hsl(307, 44%, 46%) |
| HSV | hsv(307, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 7.6%, 32.9%) |
| CIE-LAB | lab(45.67, 54.18, -29.27) |
| CIE-LCH | lch(45.67, 61.58, 331.62°) |
| OKLab | oklab(55.43% 0.1557 -0.08) |
| OKLCH | oklch(55.43% 0.175 332.8) |
| XYZ | xyz(24.9144, 15.0248, 33.9290) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.73
Medium Purple
#9E43A2
ΔE00 3.16
Purpley Pink
#C83CB9
ΔE00 6.30
Purpleish
#98568D
ΔE00 6.51
Warm Purple
#952E8F
ΔE00 6.65
Purply
#983FB2
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB429E #42AB4F
analogous
#8442AB #AB429E #AB426A
triadic
#AB429E #9EAB42 #429EAB
tetradic
#AB429E #AB8442 #42AB4F #426AAB
square
#AB429E #AB8442 #42AB4F #426AAB
split-complementary
#AB429E #6AAB42 #42AB84
monochromatic
#53204C #7F3175 #AB429E #C466B8 #D592CD
Accessibility & contrast
On white
5.24
#AB429E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#AB429E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB429E
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB429E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB429E | 1.00 | 5.24 | 4.00 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F62A1
Deuteranopia (green-blind)
#61729B
Tritanopia (blue-blind)
#B24A6A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab429e; /* rgb */ color: rgb(171, 66, 158); /* oklch */ color: oklch(55.4% 0.175 332.8);
Tailwind
colors: {
custom: {
50: '#c77dbb',
500: '#ab429e',
950: '#000000',
},
}SCSS
$custom: #ab429e; $custom-light: #c77dbb; $custom-dark: #000000;
JSON
{
"hex": "#ab429e",
"rgb": {
"r": 171,
"g": 66,
"b": 158
},
"hsl": {
"h": 307.429,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.55433,
"c": 0.17505,
"h": 332.8
},
"luminance": 0.15023
}Semantic roles & 50–950 ramp
primary
#AB429E
secondary
#88C08F
accent
#D46454
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81