#AB5CE3#AB5CE3
#AB5CE3 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.203 H 308.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5CE3 |
|---|---|
| RGB | rgb(171, 92, 227) |
| HSL | hsl(275, 71%, 63%) |
| HSV | hsv(275, 59%, 89%) |
| CMYK | cmyk(24.7%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(53.88, 55.42, -56.20) |
| CIE-LCH | lch(53.88, 78.93, 314.60°) |
| OKLab | oklab(62.61% 0.1267 -0.1584) |
| OKLCH | oklch(62.61% 0.203 308.7) |
| XYZ | xyz(34.4841, 21.8588, 75.0607) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.75
Lighter Purple
#A55AF4
ΔE00 2.95
Mediumorchid
#BA55D3
ΔE00 4.40
Light Urple
#B36FF6
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 5.85
Bright Lilac
#C95EFB
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5CE3 #94E35C
analogous
#675CE3 #AB5CE3 #E35CD8
triadic
#AB5CE3 #E3AB5C #5CE3AB
tetradic
#AB5CE3 #E3675C #94E35C #5CD8E3
square
#AB5CE3 #E3675C #94E35C #5CD8E3
split-complementary
#AB5CE3 #D8E35C #5CE367
monochromatic
#6E1DA8 #9028DA #AB5CE3 #C690EC #E1C4F5
Accessibility & contrast
On white
3.91
#AB5CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#AB5CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5CE3
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5CE3 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#A37697
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #ab5ce3; /* rgb */ color: rgb(171, 92, 227); /* oklch */ color: oklch(62.6% 0.203 308.7);
Tailwind
colors: {
custom: {
50: '#c88eec',
500: '#ab5ce3',
950: '#000000',
},
}SCSS
$custom: #ab5ce3; $custom-light: #c88eec; $custom-dark: #000000;
JSON
{
"hex": "#ab5ce3",
"rgb": {
"r": 171,
"g": 92,
"b": 227
},
"hsl": {
"h": 275.111,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.62612,
"c": 0.20281,
"h": 308.7
},
"luminance": 0.21858
}Semantic roles & 50–950 ramp
primary
#AB5CE3
secondary
#C9E6B5
accent
#D31362
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84