#AB459E#AB459E
#AB459E is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 332.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AB459E |
|---|---|
| RGB | rgb(171, 69, 158) |
| HSL | hsl(308, 43%, 47%) |
| HSV | hsv(308, 60%, 67%) |
| CMYK | cmyk(0%, 59.6%, 7.6%, 32.9%) |
| CIE-LAB | lab(46.16, 52.85, -28.51) |
| CIE-LCH | lch(46.16, 60.04, 331.66°) |
| OKLab | oklab(55.79% 0.1518 -0.0778) |
| OKLCH | oklch(55.79% 0.171 332.9) |
| XYZ | xyz(25.0943, 15.3846, 33.9889) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.07
Medium Purple
#9E43A2
ΔE00 3.43
Purpleish
#98568D
ΔE00 6.11
Purpley Pink
#C83CB9
ΔE00 6.20
Purplish
#94568C
ΔE00 6.57
Purply
#983FB2
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB459E #45AB52
analogous
#8545AB #AB459E #AB456B
triadic
#AB459E #9EAB45 #459EAB
tetradic
#AB459E #AB8545 #45AB52 #456BAB
square
#AB459E #AB8545 #45AB52 #456BAB
split-complementary
#AB459E #6BAB45 #45AB85
monochromatic
#54224D #7F3376 #AB459E #C36AB8 #D596CD
Accessibility & contrast
On white
5.15
#AB459E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#AB459E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB459E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB459E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB459E | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#62739B
Tritanopia (blue-blind)
#B24D6B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab459e; /* rgb */ color: rgb(171, 69, 158); /* oklch */ color: oklch(55.8% 0.171 332.9);
Tailwind
colors: {
custom: {
50: '#c77fbb',
500: '#ab459e',
950: '#000000',
},
}SCSS
$custom: #ab459e; $custom-light: #c77fbb; $custom-dark: #000000;
JSON
{
"hex": "#ab459e",
"rgb": {
"r": 171,
"g": 69,
"b": 158
},
"hsl": {
"h": 307.647,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.5579,
"c": 0.17061,
"h": 332.9
},
"luminance": 0.15383
}Semantic roles & 50–950 ramp
primary
#AB459E
secondary
#8BC092
accent
#D26556
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81