#AB409F#AB409F
#AB409F is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.179 H 332.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AB409F |
|---|---|
| RGB | rgb(171, 64, 159) |
| HSL | hsl(307, 46%, 46%) |
| HSV | hsv(307, 63%, 67%) |
| CMYK | cmyk(0%, 62.6%, 7%, 32.9%) |
| CIE-LAB | lab(45.40, 55.22, -30.28) |
| CIE-LCH | lch(45.40, 62.97, 331.26°) |
| OKLab | oklab(55.25% 0.1584 -0.0829) |
| OKLCH | oklch(55.25% 0.179 332.4) |
| XYZ | xyz(24.8860, 14.8298, 34.3459) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.49
Medium Purple
#9E43A2
ΔE00 2.93
Purpley Pink
#C83CB9
ΔE00 6.30
Warm Purple
#952E8F
ΔE00 6.36
Purply
#983FB2
ΔE00 6.38
Barney
#AC1DB8
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB409F #40AB4C
analogous
#8140AB #AB409F #AB4069
triadic
#AB409F #9FAB40 #409FAB
tetradic
#AB409F #AB8140 #40AB4C #4069AB
square
#AB409F #AB8140 #40AB4C #4069AB
split-complementary
#AB409F #69AB40 #40AB81
monochromatic
#521F4C #7E2F76 #AB409F #C563BA #D590CE
Accessibility & contrast
On white
5.30
#AB409F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#AB409F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB409F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB409F | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C62A2
Deuteranopia (green-blind)
#5F719C
Tritanopia (blue-blind)
#B2496A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab409f; /* rgb */ color: rgb(171, 64, 159); /* oklch */ color: oklch(55.3% 0.179 332.4);
Tailwind
colors: {
custom: {
50: '#c77cbb',
500: '#ab409f',
950: '#000000',
},
}SCSS
$custom: #ab409f; $custom-light: #c77cbb; $custom-dark: #000000;
JSON
{
"hex": "#ab409f",
"rgb": {
"r": 171,
"g": 64,
"b": 159
},
"hsl": {
"h": 306.729,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.55253,
"c": 0.17873,
"h": 332.4
},
"luminance": 0.14828
}Semantic roles & 50–950 ramp
primary
#AB409F
secondary
#86C18D
accent
#D56153
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A12
muted
#827C81