#AB489F#AB489F
#AB489F is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.2% C 0.167 H 332.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AB489F |
|---|---|
| RGB | rgb(171, 72, 159) |
| HSL | hsl(307, 41%, 48%) |
| HSV | hsv(307, 58%, 67%) |
| CMYK | cmyk(0%, 57.9%, 7%, 32.9%) |
| CIE-LAB | lab(46.71, 51.64, -28.24) |
| CIE-LCH | lch(46.71, 58.86, 331.33°) |
| OKLab | oklab(56.21% 0.148 -0.0771) |
| OKLCH | oklch(56.21% 0.167 332.5) |
| XYZ | xyz(25.3699, 15.7977, 34.5072) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.44
Medium Purple
#9E43A2
ΔE00 3.69
Purpleish
#98568D
ΔE00 5.84
Purpley Pink
#C83CB9
ΔE00 6.06
Purplish
#94568C
ΔE00 6.33
Purply
#983FB2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB489F #48AB54
analogous
#8648AB #AB489F #AB486D
triadic
#AB489F #9FAB48 #489FAB
tetradic
#AB489F #AB8648 #48AB54 #486DAB
square
#AB489F #AB8648 #48AB54 #486DAB
split-complementary
#AB489F #6DAB48 #48AB86
monochromatic
#55244F #803677 #AB489F #C26EB8 #D499CD
Accessibility & contrast
On white
5.05
#AB489F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#AB489F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB489F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB489F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB489F | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4566A2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#B2506D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab489f; /* rgb */ color: rgb(171, 72, 159); /* oklch */ color: oklch(56.2% 0.167 332.5);
Tailwind
colors: {
custom: {
50: '#c780bb',
500: '#ab489f',
950: '#000000',
},
}SCSS
$custom: #ab489f; $custom-light: #c780bb; $custom-dark: #000000;
JSON
{
"hex": "#ab489f",
"rgb": {
"r": 171,
"g": 72,
"b": 159
},
"hsl": {
"h": 307.273,
"s": 40.741,
"l": 47.647
},
"oklch": {
"l": 0.56209,
"c": 0.16687,
"h": 332.5
},
"luminance": 0.15796
}Semantic roles & 50–950 ramp
primary
#AB489F
secondary
#8EC094
accent
#D16657
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81