#AB4AC2#AB4AC2
#AB4AC2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.195 H 319.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4AC2 |
|---|---|
| RGB | rgb(171, 74, 194) |
| HSL | hsl(289, 50%, 53%) |
| HSV | hsv(289, 62%, 76%) |
| CMYK | cmyk(11.9%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(48.82, 57.11, -45.43) |
| CIE-LCH | lch(48.82, 72.98, 321.50°) |
| OKLab | oklab(58.33% 0.1484 -0.1268) |
| OKLCH | oklch(58.33% 0.195 319.5) |
| XYZ | xyz(28.9797, 17.4518, 52.8705) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.84
Purply
#983FB2
ΔE00 5.27
Amethyst
#9B5FC0
ΔE00 5.27
Purpley Pink
#C83CB9
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.00
Ugly Purple
#A442A0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4AC2 #61C24A
analogous
#6F4AC2 #AB4AC2 #C24A9D
triadic
#AB4AC2 #C2AB4A #4AC2AB
tetradic
#AB4AC2 #C26F4A #61C24A #4A9DC2
square
#AB4AC2 #C26F4A #61C24A #4A9DC2
split-complementary
#AB4AC2 #9DC24A #4AC26F
monochromatic
#5F256D #87349B #AB4AC2 #C078D1 #D5A6E1
Accessibility & contrast
On white
4.68
#AB4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#AB4AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4AC2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4AC2 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#5377BF
Tritanopia (blue-blind)
#AB5E7F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ab4ac2; /* rgb */ color: rgb(171, 74, 194); /* oklch */ color: oklch(58.3% 0.195 319.5);
Tailwind
colors: {
custom: {
50: '#c782d5',
500: '#ab4ac2',
950: '#000000',
},
}SCSS
$custom: #ab4ac2; $custom-light: #c782d5; $custom-dark: #000000;
JSON
{
"hex": "#ab4ac2",
"rgb": {
"r": 171,
"g": 74,
"b": 194
},
"hsl": {
"h": 288.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.58331,
"c": 0.19521,
"h": 319.5
},
"luminance": 0.17451
}Semantic roles & 50–950 ramp
primary
#AB4AC2
secondary
#A4CE9A
accent
#D94F69
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83