#AB6CE3#AB6CE3
#AB6CE3 is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.9% C 0.179 H 306.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6CE3 |
|---|---|
| RGB | rgb(171, 108, 227) |
| HSL | hsl(272, 68%, 66%) |
| HSV | hsv(272, 52%, 89%) |
| CMYK | cmyk(24.7%, 52.4%, 0%, 11%) |
| CIE-LAB | lab(57.01, 47.15, -51.20) |
| CIE-LCH | lch(57.01, 69.60, 312.64°) |
| OKLab | oklab(64.91% 0.1065 -0.1438) |
| OKLCH | oklch(64.91% 0.179 306.5) |
| XYZ | xyz(36.0194, 24.9294, 75.5725) |
| Luminance | 0.2493 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.01
Mediumpurple
#9370DB
ΔE00 4.85
Light Purple
#BF77F6
ΔE00 4.93
Easter Purple
#C071FE
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 5.15
Bright Lavender
#C760FF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6CE3 #A4E36C
analogous
#6F6CE3 #AB6CE3 #E36CDF
triadic
#AB6CE3 #E3AB6C #6CE3AB
tetradic
#AB6CE3 #E36F6C #A4E36C #6CDFE3
square
#AB6CE3 #E36F6C #A4E36C #6CDFE3
split-complementary
#AB6CE3 #DFE36C #6CE36F
monochromatic
#6F22B3 #8E39D9 #AB6CE3 #C89FED #E6D3F7
Accessibility & contrast
On white
3.51
#AB6CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.99
#AB6CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6CE3
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6CE3 | 1.00 | 3.51 | 5.99 | 5.99 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4787E7
Deuteranopia (green-blind)
#5B89E0
Tritanopia (blue-blind)
#A2819D
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ab6ce3; /* rgb */ color: rgb(171, 108, 227); /* oklch */ color: oklch(64.9% 0.179 306.5);
Tailwind
colors: {
custom: {
50: '#c798ec',
500: '#ab6ce3',
950: '#000000',
},
}SCSS
$custom: #ab6ce3; $custom-light: #c798ec; $custom-dark: #000000;
JSON
{
"hex": "#ab6ce3",
"rgb": {
"r": 171,
"g": 108,
"b": 227
},
"hsl": {
"h": 271.765,
"s": 68,
"l": 65.686
},
"oklch": {
"l": 0.64908,
"c": 0.17895,
"h": 306.5
},
"luminance": 0.24929
}Semantic roles & 50–950 ramp
primary
#AB6CE3
secondary
#D4E9C2
accent
#D0166D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84