#AB6EF3#AB6EF3
#AB6EF3 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.195 H 302.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6EF3 |
|---|---|
| RGB | rgb(171, 110, 243) |
| HSL | hsl(268, 85%, 69%) |
| HSV | hsv(268, 55%, 95%) |
| CMYK | cmyk(29.6%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(58.30, 49.82, -58.06) |
| CIE-LCH | lch(58.30, 76.51, 310.63°) |
| OKLab | oklab(66.15% 0.1048 -0.1639) |
| OKLCH | oklch(66.15% 0.195 302.6) |
| XYZ | xyz(38.5445, 26.2808, 87.8187) |
| Luminance | 0.2628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.47
Easter Purple
#C071FE
ΔE00 3.86
Light Purple
#BF77F6
ΔE00 4.34
Lighter Purple
#A55AF4
ΔE00 4.87
Bright Lavender
#C760FF
ΔE00 5.14
Mediumpurple
#9370DB
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6EF3 #B6F36E
analogous
#6E74F3 #AB6EF3 #EE6EF3
triadic
#AB6EF3 #F3AB6E #6EF3AB
tetradic
#AB6EF3 #F36E74 #B6F36E #6EF3EE
square
#AB6EF3 #F36E74 #B6F36E #6EF3EE
split-complementary
#AB6EF3 #F3EE6E #74F36E
monochromatic
#6B12D5 #8A35EE #AB6EF3 #CCA7F8 #ECDFFC
Accessibility & contrast
On white
3.36
#AB6EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#AB6EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6EF3
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6EF3 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8BF7
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#9D88A6
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ab6ef3; /* rgb */ color: rgb(171, 110, 243); /* oklch */ color: oklch(66.2% 0.195 302.6);
Tailwind
colors: {
custom: {
50: '#c899f8',
500: '#ab6ef3',
950: '#000000',
},
}SCSS
$custom: #ab6ef3; $custom-light: #c899f8; $custom-dark: #000000;
JSON
{
"hex": "#ab6ef3",
"rgb": {
"r": 171,
"g": 110,
"b": 243
},
"hsl": {
"h": 267.519,
"s": 84.713,
"l": 69.216
},
"oklch": {
"l": 0.66151,
"c": 0.19451,
"h": 302.6
},
"luminance": 0.26281
}Semantic roles & 50–950 ramp
primary
#AB6EF3
secondary
#E0F2CB
accent
#E1047C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85