#AB6CF3#AB6CF3
#AB6CF3 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.197 H 302.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6CF3 |
|---|---|
| RGB | rgb(171, 108, 243) |
| HSL | hsl(268, 85%, 69%) |
| HSV | hsv(268, 56%, 95%) |
| CMYK | cmyk(29.6%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(57.90, 50.88, -58.71) |
| CIE-LCH | lch(57.90, 77.69, 310.92°) |
| OKLab | oklab(65.85% 0.1072 -0.1658) |
| OKLCH | oklch(65.85% 0.197 302.9) |
| XYZ | xyz(38.3311, 25.8541, 87.7476) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.66
Easter Purple
#C071FE
ΔE00 4.02
Lighter Purple
#A55AF4
ΔE00 4.40
Light Purple
#BF77F6
ΔE00 4.62
Bright Lavender
#C760FF
ΔE00 4.96
Mediumpurple
#9370DB
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6CF3 #B4F36C
analogous
#6C71F3 #AB6CF3 #EF6CF3
triadic
#AB6CF3 #F3AB6C #6CF3AB
tetradic
#AB6CF3 #F36C71 #B4F36C #6CF3EF
square
#AB6CF3 #F36C71 #B4F36C #6CF3EF
split-complementary
#AB6CF3 #F3EF6C #71F36C
monochromatic
#6C11D3 #8B33EE #AB6CF3 #CBA5F8 #ECDDFC
Accessibility & contrast
On white
3.40
#AB6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#AB6CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6CF3
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6CF3 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368AF7
Deuteranopia (green-blind)
#4D8BF0
Tritanopia (blue-blind)
#9E86A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ab6cf3; /* rgb */ color: rgb(171, 108, 243); /* oklch */ color: oklch(65.9% 0.197 302.9);
Tailwind
colors: {
custom: {
50: '#c898f8',
500: '#ab6cf3',
950: '#000000',
},
}SCSS
$custom: #ab6cf3; $custom-light: #c898f8; $custom-dark: #000000;
JSON
{
"hex": "#ab6cf3",
"rgb": {
"r": 171,
"g": 108,
"b": 243
},
"hsl": {
"h": 268,
"s": 84.906,
"l": 68.824
},
"oklch": {
"l": 0.65853,
"c": 0.19743,
"h": 302.9
},
"luminance": 0.25854
}Semantic roles & 50–950 ramp
primary
#AB6CF3
secondary
#DFF1C9
accent
#E1047A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85