#AB6EF6#AB6EF6
#AB6EF6 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.198 H 302.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6EF6 |
|---|---|
| RGB | rgb(171, 110, 246) |
| HSL | hsl(267, 88%, 70%) |
| HSV | hsv(267, 55%, 96%) |
| CMYK | cmyk(30.5%, 55.3%, 0%, 3.5%) |
| CIE-LAB | lab(58.47, 50.54, -59.45) |
| CIE-LCH | lch(58.47, 78.03, 310.37°) |
| OKLab | oklab(66.33% 0.1048 -0.168) |
| OKLCH | oklch(66.33% 0.198 302) |
| XYZ | xyz(39.0012, 26.4635, 90.2242) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.53
Easter Purple
#C071FE
ΔE00 3.81
Light Purple
#BF77F6
ΔE00 4.42
Lighter Purple
#A55AF4
ΔE00 4.88
Bright Lavender
#C760FF
ΔE00 5.13
Mediumpurple
#9370DB
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6EF6 #B9F66E
analogous
#6E75F6 #AB6EF6 #EF6EF6
triadic
#AB6EF6 #F6AB6E #6EF6AB
tetradic
#AB6EF6 #F66E75 #B9F66E #6EF6EF
square
#AB6EF6 #F66E75 #B9F66E #6EF6EF
split-complementary
#AB6EF6 #F6EF6E #75F66E
monochromatic
#6A0EDC #8A34F2 #AB6EF6 #CCA8FA #EEE1FD
Accessibility & contrast
On white
3.34
#AB6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#AB6EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6EF6
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6EF6 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#9C89A8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #ab6ef6; /* rgb */ color: rgb(171, 110, 246); /* oklch */ color: oklch(66.3% 0.198 302.0);
Tailwind
colors: {
custom: {
50: '#c89afa',
500: '#ab6ef6',
950: '#000000',
},
}SCSS
$custom: #ab6ef6; $custom-light: #c89afa; $custom-dark: #000000;
JSON
{
"hex": "#ab6ef6",
"rgb": {
"r": 171,
"g": 110,
"b": 246
},
"hsl": {
"h": 266.912,
"s": 88.312,
"l": 69.804
},
"oklch": {
"l": 0.66332,
"c": 0.19799,
"h": 302
},
"luminance": 0.26464
}Semantic roles & 50–950 ramp
primary
#AB6EF6
secondary
#E2F3CD
accent
#E5017F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85