#AB459F#AB459F
#AB459F is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 332.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AB459F |
|---|---|
| RGB | rgb(171, 69, 159) |
| HSL | hsl(307, 43%, 47%) |
| HSV | hsv(307, 60%, 67%) |
| CMYK | cmyk(0%, 59.6%, 7%, 32.9%) |
| CIE-LAB | lab(46.20, 53.01, -29.03) |
| CIE-LCH | lch(46.20, 60.44, 331.30°) |
| OKLab | oklab(55.84% 0.152 -0.0793) |
| OKLCH | oklch(55.84% 0.171 332.4) |
| XYZ | xyz(25.1807, 15.4192, 34.4441) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 1.96
Medium Purple
#9E43A2
ΔE00 3.31
Purpley Pink
#C83CB9
ΔE00 6.10
Purpleish
#98568D
ΔE00 6.22
Purplish
#94568C
ΔE00 6.67
Purply
#983FB2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB459F #45AB51
analogous
#8445AB #AB459F #AB456C
triadic
#AB459F #9FAB45 #459FAB
tetradic
#AB459F #AB8445 #45AB51 #456CAB
square
#AB459F #AB8445 #45AB51 #456CAB
split-complementary
#AB459F #6CAB45 #45AB84
monochromatic
#54224E #7F3376 #AB459F #C36AB9 #D596CD
Accessibility & contrast
On white
5.14
#AB459F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AB459F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB459F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB459F | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4164A2
Deuteranopia (green-blind)
#62739C
Tritanopia (blue-blind)
#B24D6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab459f; /* rgb */ color: rgb(171, 69, 159); /* oklch */ color: oklch(55.8% 0.171 332.4);
Tailwind
colors: {
custom: {
50: '#c77fbb',
500: '#ab459f',
950: '#000000',
},
}SCSS
$custom: #ab459f; $custom-light: #c77fbb; $custom-dark: #000000;
JSON
{
"hex": "#ab459f",
"rgb": {
"r": 171,
"g": 69,
"b": 159
},
"hsl": {
"h": 307.059,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.55839,
"c": 0.17143,
"h": 332.4
},
"luminance": 0.15417
}Semantic roles & 50–950 ramp
primary
#AB459F
secondary
#8BC092
accent
#D26456
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81