#AB5CE2#AB5CE2
#AB5CE2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.202 H 308.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5CE2 |
|---|---|
| RGB | rgb(171, 92, 226) |
| HSL | hsl(275, 70%, 62%) |
| HSV | hsv(275, 59%, 89%) |
| CMYK | cmyk(24.3%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(53.82, 55.20, -55.73) |
| CIE-LCH | lch(53.82, 78.44, 314.72°) |
| OKLab | oklab(62.55% 0.1267 -0.157) |
| OKLCH | oklch(62.55% 0.202 308.9) |
| XYZ | xyz(34.3465, 21.8038, 74.3359) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.78
Lighter Purple
#A55AF4
ΔE00 3.09
Mediumorchid
#BA55D3
ΔE00 4.29
Light Urple
#B36FF6
ΔE00 5.61
Amethyst
#9B5FC0
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5CE2 #93E25C
analogous
#685CE2 #AB5CE2 #E25CD6
triadic
#AB5CE2 #E2AB5C #5CE2AB
tetradic
#AB5CE2 #E2685C #93E25C #5CD6E2
square
#AB5CE2 #E2685C #93E25C #5CD6E2
split-complementary
#AB5CE2 #D6E25C #5CE268
monochromatic
#6E1EA6 #9028D9 #AB5CE2 #C690EB #E1C4F4
Accessibility & contrast
On white
3.92
#AB5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#AB5CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5CE2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5CE2 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#4A82DF
Tritanopia (blue-blind)
#A37696
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #ab5ce2; /* rgb */ color: rgb(171, 92, 226); /* oklch */ color: oklch(62.5% 0.202 308.9);
Tailwind
colors: {
custom: {
50: '#c78eec',
500: '#ab5ce2',
950: '#000000',
},
}SCSS
$custom: #ab5ce2; $custom-light: #c78eec; $custom-dark: #000000;
JSON
{
"hex": "#ab5ce2",
"rgb": {
"r": 171,
"g": 92,
"b": 226
},
"hsl": {
"h": 275.373,
"s": 69.792,
"l": 62.353
},
"oklch": {
"l": 0.6255,
"c": 0.20174,
"h": 308.9
},
"luminance": 0.21803
}Semantic roles & 50–950 ramp
primary
#AB5CE2
secondary
#C9E5B4
accent
#D21462
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130D16
muted
#827D84