#AB6EE2#AB6EE2
#AB6EE2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.175 H 306.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6EE2 |
|---|---|
| RGB | rgb(171, 110, 226) |
| HSL | hsl(272, 67%, 66%) |
| HSV | hsv(272, 51%, 89%) |
| CMYK | cmyk(24.3%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(57.37, 45.84, -50.07) |
| CIE-LCH | lch(57.37, 67.89, 312.48°) |
| OKLab | oklab(65.16% 0.1038 -0.1405) |
| OKLCH | oklch(65.16% 0.175 306.4) |
| XYZ | xyz(36.0952, 25.3011, 74.9188) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.05
Light Purple
#BF77F6
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 4.79
Easter Purple
#C071FE
ΔE00 4.95
Lighter Purple
#A55AF4
ΔE00 5.66
Bright Lavender
#C760FF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6EE2 #A5E26E
analogous
#716EE2 #AB6EE2 #E26EDF
triadic
#AB6EE2 #E2AB6E #6EE2AB
tetradic
#AB6EE2 #E2716E #A5E26E #6EDFE2
square
#AB6EE2 #E2716E #A5E26E #6EDFE2
split-complementary
#AB6EE2 #DFE26E #6EE271
monochromatic
#6E24B2 #8D3BD8 #AB6EE2 #C9A1EC #E6D4F6
Accessibility & contrast
On white
3.47
#AB6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#AB6EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6EE2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6EE2 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#A2839E
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ab6ee2; /* rgb */ color: rgb(171, 110, 226); /* oklch */ color: oklch(65.2% 0.175 306.4);
Tailwind
colors: {
custom: {
50: '#c799eb',
500: '#ab6ee2',
950: '#000000',
},
}SCSS
$custom: #ab6ee2; $custom-light: #c799eb; $custom-dark: #000000;
JSON
{
"hex": "#ab6ee2",
"rgb": {
"r": 171,
"g": 110,
"b": 226
},
"hsl": {
"h": 271.552,
"s": 66.667,
"l": 65.882
},
"oklch": {
"l": 0.65158,
"c": 0.17469,
"h": 306.4
},
"luminance": 0.25301
}Semantic roles & 50–950 ramp
primary
#AB6EE2
secondary
#D5E9C3
accent
#CF176E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84