#AB4FDA#AB4FDA
#AB4FDA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.212 H 312.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4FDA |
|---|---|
| RGB | rgb(171, 79, 218) |
| HSL | hsl(280, 65%, 58%) |
| HSV | hsv(280, 64%, 85%) |
| CMYK | cmyk(21.6%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(51.05, 59.70, -55.64) |
| CIE-LCH | lch(51.05, 81.61, 317.02°) |
| OKLab | oklab(60.39% 0.1422 -0.1567) |
| OKLCH | oklch(60.39% 0.212 312.2) |
| XYZ | xyz(32.2432, 19.3127, 68.3453) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.39
Mediumorchid
#BA55D3
ΔE00 3.98
Lighter Purple
#A55AF4
ΔE00 4.93
Amethyst
#9B5FC0
ΔE00 5.47
Neon Purple
#BC13FE
ΔE00 6.55
Hot Purple
#CB00F5
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4FDA #7EDA4F
analogous
#654FDA #AB4FDA #DA4FC3
triadic
#AB4FDA #DAAB4F #4FDAAB
tetradic
#AB4FDA #DA654F #7EDA4F #4FC3DA
square
#AB4FDA #DA654F #7EDA4F #4FC3DA
split-complementary
#AB4FDA #C3DA4F #4FDA65
monochromatic
#6A1E90 #8F29C3 #AB4FDA #C382E5 #DBB4EF
Accessibility & contrast
On white
4.32
#AB4FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#AB4FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4FDA
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4FDA | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0275DE
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#A66A8E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #ab4fda; /* rgb */ color: rgb(171, 79, 218); /* oklch */ color: oklch(60.4% 0.212 312.2);
Tailwind
colors: {
custom: {
50: '#c886e6',
500: '#ab4fda',
950: '#000000',
},
}SCSS
$custom: #ab4fda; $custom-light: #c886e6; $custom-dark: #000000;
JSON
{
"hex": "#ab4fda",
"rgb": {
"r": 171,
"g": 79,
"b": 218
},
"hsl": {
"h": 279.712,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.60391,
"c": 0.21161,
"h": 312.2
},
"luminance": 0.19312
}Semantic roles & 50–950 ramp
primary
#AB4FDA
secondary
#B9DEA7
accent
#E84079
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84