#AB5FDA#AB5FDA
#AB5FDA is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.5% C 0.189 H 310.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5FDA |
|---|---|
| RGB | rgb(171, 95, 218) |
| HSL | hsl(277, 62%, 61%) |
| HSV | hsv(277, 56%, 85%) |
| CMYK | cmyk(21.6%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(53.93, 51.92, -51.04) |
| CIE-LCH | lch(53.93, 72.81, 315.49°) |
| OKLab | oklab(62.48% 0.1228 -0.1433) |
| OKLCH | oklch(62.48% 0.189 310.6) |
| XYZ | xyz(33.5393, 21.9050, 68.7773) |
| Luminance | 0.2190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.66
Lightish Purple
#A552E6
ΔE00 3.87
Lighter Purple
#A55AF4
ΔE00 4.42
Amethyst
#9B5FC0
ΔE00 4.74
Light Urple
#B36FF6
ΔE00 5.85
Bright Lilac
#C95EFB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5FDA #8EDA5F
analogous
#6E5FDA #AB5FDA #DA5FCC
triadic
#AB5FDA #DAAB5F #5FDAAB
tetradic
#AB5FDA #DA6E5F #8EDA5F #5FCCDA
square
#AB5FDA #DA6E5F #8EDA5F #5FCCDA
split-complementary
#AB5FDA #CCDA5F #5FDA6E
monochromatic
#6D249B #902FCD #AB5FDA #C591E5 #DFC2F1
Accessibility & contrast
On white
3.90
#AB5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#AB5FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5FDA
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5FDA | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#A57594
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #ab5fda; /* rgb */ color: rgb(171, 95, 218); /* oklch */ color: oklch(62.5% 0.189 310.6);
Tailwind
colors: {
custom: {
50: '#c78fe6',
500: '#ab5fda',
950: '#000000',
},
}SCSS
$custom: #ab5fda; $custom-light: #c78fe6; $custom-dark: #000000;
JSON
{
"hex": "#ab5fda",
"rgb": {
"r": 171,
"g": 95,
"b": 218
},
"hsl": {
"h": 277.073,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.62482,
"c": 0.18873,
"h": 310.6
},
"luminance": 0.21904
}Semantic roles & 50–950 ramp
primary
#AB5FDA
secondary
#C5E1B3
accent
#CA1B5E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84