#AB3EB5#AB3EB5
#AB3EB5 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.2% C 0.200 H 324.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3EB5 |
|---|---|
| RGB | rgb(171, 62, 181) |
| HSL | hsl(295, 49%, 48%) |
| HSV | hsv(295, 66%, 71%) |
| CMYK | cmyk(5.5%, 65.7%, 0%, 29%) |
| CIE-LAB | lab(46.23, 59.86, -41.98) |
| CIE-LCH | lch(46.23, 73.11, 324.96°) |
| OKLab | oklab(56.22% 0.1622 -0.1167) |
| OKLCH | oklch(56.22% 0.2 324.3) |
| XYZ | xyz(26.8570, 15.4410, 45.2729) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.61
Purply
#983FB2
ΔE00 3.75
Ugly Purple
#A442A0
ΔE00 3.78
Barney
#AC1DB8
ΔE00 4.23
Purpley Pink
#C83CB9
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3EB5 #48B53E
analogous
#6F3EB5 #AB3EB5 #B53E83
triadic
#AB3EB5 #B5AB3E #3EB5AB
tetradic
#AB3EB5 #B56F3E #48B53E #3E83B5
square
#AB3EB5 #B56F3E #48B53E #3E83B5
split-complementary
#AB3EB5 #83B53E #3EB56F
monochromatic
#551F5A #802E87 #AB3EB5 #C266CA #D493DA
Accessibility & contrast
On white
5.14
#AB3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#AB3EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3EB5
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3EB5 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2465B8
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#AE5074
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ab3eb5; /* rgb */ color: rgb(171, 62, 181); /* oklch */ color: oklch(56.2% 0.200 324.3);
Tailwind
colors: {
custom: {
50: '#c77ccc',
500: '#ab3eb5',
950: '#000000',
},
}SCSS
$custom: #ab3eb5; $custom-light: #c77ccc; $custom-dark: #000000;
JSON
{
"hex": "#ab3eb5",
"rgb": {
"r": 171,
"g": 62,
"b": 181
},
"hsl": {
"h": 294.958,
"s": 48.971,
"l": 47.647
},
"oklch": {
"l": 0.56224,
"c": 0.19983,
"h": 324.3
},
"luminance": 0.15439
}Semantic roles & 50–950 ramp
primary
#AB3EB5
secondary
#8EC589
accent
#D94F5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82