#AB7DF3#AB7DF3
#AB7DF3 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.172 H 299.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7DF3 |
|---|---|
| RGB | rgb(171, 125, 243) |
| HSL | hsl(263, 83%, 72%) |
| HSV | hsv(263, 49%, 95%) |
| CMYK | cmyk(29.6%, 48.6%, 0%, 4.7%) |
| CIE-LAB | lab(61.48, 41.68, -53.00) |
| CIE-LCH | lch(61.48, 67.42, 308.18°) |
| OKLab | oklab(68.5% 0.0857 -0.1491) |
| OKLCH | oklch(68.5% 0.172 299.9) |
| XYZ | xyz(40.3021, 29.7960, 88.4046) |
| Luminance | 0.2980 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.77
Light Purple
#BF77F6
ΔE00 4.04
Easter Purple
#C071FE
ΔE00 4.70
Liliac
#C48EFD
ΔE00 5.95
Mediumpurple
#9370DB
ΔE00 6.11
Periwinkle (survey)
#8E82FE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7DF3 #C5F37D
analogous
#7D8AF3 #AB7DF3 #E67DF3
triadic
#AB7DF3 #F3AB7D #7DF3AB
tetradic
#AB7DF3 #F37D8A #C5F37D #7DF3E6
square
#AB7DF3 #F37D8A #C5F37D #7DF3E6
split-complementary
#AB7DF3 #F3E67D #8AF37D
monochromatic
#6415E1 #8745EE #AB7DF3 #CFB5F8 #EDE3FC
Accessibility & contrast
On white
3.02
#AB7DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#AB7DF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7DF3
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7DF3 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#9D93AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ab7df3; /* rgb */ color: rgb(171, 125, 243); /* oklch */ color: oklch(68.5% 0.172 299.9);
Tailwind
colors: {
custom: {
50: '#c7a3f7',
500: '#ab7df3',
950: '#000000',
},
}SCSS
$custom: #ab7df3; $custom-light: #c7a3f7; $custom-dark: #000000;
JSON
{
"hex": "#ab7df3",
"rgb": {
"r": 171,
"g": 125,
"b": 243
},
"hsl": {
"h": 263.39,
"s": 83.099,
"l": 72.157
},
"oklch": {
"l": 0.68504,
"c": 0.17195,
"h": 299.9
},
"luminance": 0.29796
}Semantic roles & 50–950 ramp
primary
#AB7DF3
secondary
#E9F4D7
accent
#E0068B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85