#AB6AEF#AB6AEF
#AB6AEF is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.3% C 0.196 H 304.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6AEF |
|---|---|
| RGB | rgb(171, 106, 239) |
| HSL | hsl(269, 81%, 68%) |
| HSV | hsv(269, 56%, 94%) |
| CMYK | cmyk(28.5%, 55.6%, 0%, 6.3%) |
| CIE-LAB | lab(57.27, 50.99, -57.49) |
| CIE-LCH | lch(57.27, 76.85, 311.57°) |
| OKLab | oklab(65.32% 0.1096 -0.1622) |
| OKLCH | oklch(65.32% 0.196 304) |
| XYZ | xyz(37.5252, 25.1981, 84.5314) |
| Luminance | 0.2520 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.06
Lighter Purple
#A55AF4
ΔE00 4.01
Easter Purple
#C071FE
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6AEF #AEEF6A
analogous
#6A6CEF #AB6AEF #ED6AEF
triadic
#AB6AEF #EFAB6A #6AEFAB
tetradic
#AB6AEF #EF6A6C #AEEF6A #6AEFED
square
#AB6AEF #EF6A6C #AEEF6A #6AEFED
split-complementary
#AB6AEF #EFED6A #6CEF6A
monochromatic
#6D16C9 #8C33E9 #AB6AEF #CAA1F5 #E9D9FB
Accessibility & contrast
On white
3.48
#AB6AEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.04
#AB6AEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6AEF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6AEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6AEF | 1.00 | 3.48 | 6.04 | 6.04 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#9F84A3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ab6aef; /* rgb */ color: rgb(171, 106, 239); /* oklch */ color: oklch(65.3% 0.196 304.0);
Tailwind
colors: {
custom: {
50: '#c797f5',
500: '#ab6aef',
950: '#000000',
},
}SCSS
$custom: #ab6aef; $custom-light: #c797f5; $custom-dark: #000000;
JSON
{
"hex": "#ab6aef",
"rgb": {
"r": 171,
"g": 106,
"b": 239
},
"hsl": {
"h": 269.323,
"s": 80.606,
"l": 67.647
},
"oklch": {
"l": 0.65316,
"c": 0.19577,
"h": 304
},
"luminance": 0.25198
}Semantic roles & 50–950 ramp
primary
#AB6AEF
secondary
#DBEFC6
accent
#DD0975
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85