#AB2FDA#AB2FDA
#AB2FDA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.3% C 0.248 H 314.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2FDA |
|---|---|
| RGB | rgb(171, 47, 218) |
| HSL | hsl(284, 70%, 52%) |
| HSV | hsv(284, 78%, 85%) |
| CMYK | cmyk(21.6%, 78.4%, 0%, 14.5%) |
| CIE-LAB | lab(46.65, 72.13, -62.73) |
| CIE-LCH | lch(46.65, 95.59, 318.99°) |
| OKLab | oklab(57.26% 0.1732 -0.1773) |
| OKLCH | oklch(57.26% 0.248 314.3) |
| XYZ | xyz(30.4638, 15.7540, 67.7522) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.81
Darkorchid
#9932CC
ΔE00 3.55
Bright Violet
#AD0AFD
ΔE00 4.47
Electric Purple
#AA23FF
ΔE00 4.75
Bright Purple
#BE03FD
ΔE00 4.83
Neon Purple
#BC13FE
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2FDA #5EDA2F
analogous
#562FDA #AB2FDA #DA2FB3
triadic
#AB2FDA #DAAB2F #2FDAAB
tetradic
#AB2FDA #DA562F #5EDA2F #2FB3DA
square
#AB2FDA #DA562F #5EDA2F #2FB3DA
split-complementary
#AB2FDA #B3DA2F #2FDA56
monochromatic
#5E1679 #861FAD #AB2FDA #C063E3 #D597EC
Accessibility & contrast
On white
5.06
#AB2FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#AB2FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2FDA
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2FDA | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#A65885
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab2fda; /* rgb */ color: rgb(171, 47, 218); /* oklch */ color: oklch(57.3% 0.248 314.3);
Tailwind
colors: {
custom: {
50: '#c976e6',
500: '#ab2fda',
950: '#000000',
},
}SCSS
$custom: #ab2fda; $custom-light: #c976e6; $custom-dark: #000000;
JSON
{
"hex": "#ab2fda",
"rgb": {
"r": 171,
"g": 47,
"b": 218
},
"hsl": {
"h": 283.509,
"s": 69.796,
"l": 51.961
},
"oklch": {
"l": 0.57256,
"c": 0.24783,
"h": 314.3
},
"luminance": 0.15753
}Semantic roles & 50–950 ramp
primary
#AB2FDA
secondary
#A2D88D
accent
#ED3B6C
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84