#AB6AED#AB6AED
#AB6AED is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.193 H 304.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6AED |
|---|---|
| RGB | rgb(171, 106, 237) |
| HSL | hsl(270, 78%, 67%) |
| HSV | hsv(270, 55%, 93%) |
| CMYK | cmyk(27.8%, 55.3%, 0%, 7.1%) |
| CIE-LAB | lab(57.15, 50.52, -56.56) |
| CIE-LCH | lch(57.15, 75.84, 311.77°) |
| OKLab | oklab(65.2% 0.1095 -0.1595) |
| OKLCH | oklch(65.2% 0.193 304.5) |
| XYZ | xyz(37.2313, 25.0806, 82.9840) |
| Luminance | 0.2508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.18
Lighter Purple
#A55AF4
ΔE00 4.08
Easter Purple
#C071FE
ΔE00 4.45
Light Purple
#BF77F6
ΔE00 4.92
Bright Lavender
#C760FF
ΔE00 4.97
Mediumpurple
#9370DB
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6AED #ACED6A
analogous
#6A6BED #AB6AED #EC6AED
triadic
#AB6AED #EDAB6A #6AEDAB
tetradic
#AB6AED #ED6A6B #ACED6A #6AEDEC
square
#AB6AED #ED6A6B #ACED6A #6AEDEC
split-complementary
#AB6AED #EDEC6A #6BED6A
monochromatic
#6E18C5 #8C33E6 #AB6AED #CAA1F4 #E9D7FA
Accessibility & contrast
On white
3.49
#AB6AED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#AB6AED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6AED
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6AED | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#9F83A2
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ab6aed; /* rgb */ color: rgb(171, 106, 237); /* oklch */ color: oklch(65.2% 0.193 304.5);
Tailwind
colors: {
custom: {
50: '#c797f3',
500: '#ab6aed',
950: '#000000',
},
}SCSS
$custom: #ab6aed; $custom-light: #c797f3; $custom-dark: #000000;
JSON
{
"hex": "#ab6aed",
"rgb": {
"r": 171,
"g": 106,
"b": 237
},
"hsl": {
"h": 269.771,
"s": 78.443,
"l": 67.255
},
"oklch": {
"l": 0.65196,
"c": 0.19348,
"h": 304.5
},
"luminance": 0.2508
}Semantic roles & 50–950 ramp
primary
#AB6AED
secondary
#DAEEC5
accent
#DB0B74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85