#AB45C3#AB45C3
#AB45C3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.8% C 0.203 H 319.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AB45C3 |
|---|---|
| RGB | rgb(171, 69, 195) |
| HSL | hsl(289, 51%, 52%) |
| HSV | hsv(289, 65%, 76%) |
| CMYK | cmyk(12.3%, 64.6%, 0%, 23.5%) |
| CIE-LAB | lab(48.08, 59.53, -47.20) |
| CIE-LCH | lch(48.08, 75.97, 321.59°) |
| OKLab | oklab(57.81% 0.1543 -0.1319) |
| OKLCH | oklch(57.81% 0.203 319.5) |
| XYZ | xyz(28.7718, 16.8556, 53.3571) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.68
Mediumorchid
#BA55D3
ΔE00 5.56
Barney
#AC1DB8
ΔE00 5.83
Medium Purple
#9E43A2
ΔE00 5.84
Darkorchid
#9932CC
ΔE00 5.98
Amethyst
#9B5FC0
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB45C3 #5DC345
analogous
#6C45C3 #AB45C3 #C3459C
triadic
#AB45C3 #C3AB45 #45C3AB
tetradic
#AB45C3 #C36C45 #5DC345 #459CC3
square
#AB45C3 #C36C45 #5DC345 #459CC3
split-complementary
#AB45C3 #9CC345 #45C36C
monochromatic
#5D236B #863199 #AB45C3 #C073D2 #D5A2E1
Accessibility & contrast
On white
4.80
#AB45C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#AB45C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB45C3
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB45C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB45C3 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E6BC7
Deuteranopia (green-blind)
#4E76C0
Tritanopia (blue-blind)
#AB5B7E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ab45c3; /* rgb */ color: rgb(171, 69, 195); /* oklch */ color: oklch(57.8% 0.203 319.5);
Tailwind
colors: {
custom: {
50: '#c780d6',
500: '#ab45c3',
950: '#000000',
},
}SCSS
$custom: #ab45c3; $custom-light: #c780d6; $custom-dark: #000000;
JSON
{
"hex": "#ab45c3",
"rgb": {
"r": 171,
"g": 69,
"b": 195
},
"hsl": {
"h": 288.571,
"s": 51.22,
"l": 51.765
},
"oklch": {
"l": 0.57809,
"c": 0.20304,
"h": 319.5
},
"luminance": 0.16854
}Semantic roles & 50–950 ramp
primary
#AB45C3
secondary
#A1CE96
accent
#DB4D68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83