#AB46D2#AB46D2
#AB46D2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.216 H 315.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AB46D2 |
|---|---|
| RGB | rgb(171, 70, 210) |
| HSL | hsl(283, 61%, 55%) |
| HSV | hsv(283, 67%, 82%) |
| CMYK | cmyk(18.6%, 66.7%, 0%, 17.6%) |
| CIE-LAB | lab(49.12, 62.05, -54.17) |
| CIE-LCH | lch(49.12, 82.37, 318.88°) |
| OKLab | oklab(58.85% 0.1527 -0.1523) |
| OKLCH | oklch(58.85% 0.216 315.1) |
| XYZ | xyz(30.6157, 17.6925, 62.7625) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.24
Mediumorchid
#BA55D3
ΔE00 4.97
Darkorchid
#9932CC
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 6.08
Purply
#983FB2
ΔE00 6.21
Hot Purple
#CB00F5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB46D2 #6DD246
analogous
#6546D2 #AB46D2 #D246B3
triadic
#AB46D2 #D2AB46 #46D2AB
tetradic
#AB46D2 #D26546 #6DD246 #46B3D2
square
#AB46D2 #D26546 #6DD246 #46B3D2
split-complementary
#AB46D2 #B3D246 #46D265
monochromatic
#641F7F #8B2BB0 #AB46D2 #C177DE #D8A8EA
Accessibility & contrast
On white
4.63
#AB46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#AB46D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AB46D2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB46D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB46D2 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#A86186
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ab46d2; /* rgb */ color: rgb(171, 70, 210); /* oklch */ color: oklch(58.8% 0.216 315.1);
Tailwind
colors: {
custom: {
50: '#c881e0',
500: '#ab46d2',
950: '#000000',
},
}SCSS
$custom: #ab46d2; $custom-light: #c881e0; $custom-dark: #000000;
JSON
{
"hex": "#ab46d2",
"rgb": {
"r": 171,
"g": 70,
"b": 210
},
"hsl": {
"h": 283.286,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.58846,
"c": 0.2157,
"h": 315.1
},
"luminance": 0.17691
}Semantic roles & 50–950 ramp
primary
#AB46D2
secondary
#ADD79C
accent
#E44470
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83