#AB6FF5#AB6FF5
#AB6FF5 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.195 H 302.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FF5 |
|---|---|
| RGB | rgb(171, 111, 245) |
| HSL | hsl(267, 87%, 70%) |
| HSV | hsv(267, 55%, 96%) |
| CMYK | cmyk(30.2%, 54.7%, 0%, 3.9%) |
| CIE-LAB | lab(58.62, 49.77, -58.66) |
| CIE-LCH | lch(58.62, 76.93, 310.31°) |
| OKLab | oklab(66.42% 0.1036 -0.1657) |
| OKLCH | oklch(66.42% 0.195 302) |
| XYZ | xyz(38.9567, 26.6193, 89.4542) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.46
Easter Purple
#C071FE
ΔE00 3.77
Light Purple
#BF77F6
ΔE00 4.27
Lighter Purple
#A55AF4
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 5.23
Mediumpurple
#9370DB
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FF5 #B9F56F
analogous
#6F76F5 #AB6FF5 #EE6FF5
triadic
#AB6FF5 #F5AB6F #6FF5AB
tetradic
#AB6FF5 #F56F76 #B9F56F #6FF5EE
square
#AB6FF5 #F56F76 #B9F56F #6FF5EE
split-complementary
#AB6FF5 #F5EE6F #76F56F
monochromatic
#6A0FDA #8A36F1 #AB6FF5 #CCA8F9 #EEE1FD
Accessibility & contrast
On white
3.32
#AB6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#AB6FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FF5
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FF5 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8CF9
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#9D89A8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ab6ff5; /* rgb */ color: rgb(171, 111, 245); /* oklch */ color: oklch(66.4% 0.195 302.0);
Tailwind
colors: {
custom: {
50: '#c89af9',
500: '#ab6ff5',
950: '#000000',
},
}SCSS
$custom: #ab6ff5; $custom-light: #c89af9; $custom-dark: #000000;
JSON
{
"hex": "#ab6ff5",
"rgb": {
"r": 171,
"g": 111,
"b": 245
},
"hsl": {
"h": 266.866,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.66421,
"c": 0.19537,
"h": 302
},
"luminance": 0.26619
}Semantic roles & 50–950 ramp
primary
#AB6FF5
secondary
#E2F3CD
accent
#E4027F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85