#AB7FF3#AB7FF3
#AB7FF3 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.169 H 299.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7FF3 |
|---|---|
| RGB | rgb(171, 127, 243) |
| HSL | hsl(263, 83%, 73%) |
| HSV | hsv(263, 48%, 95%) |
| CMYK | cmyk(29.6%, 47.7%, 0%, 4.7%) |
| CIE-LAB | lab(61.92, 40.57, -52.30) |
| CIE-LCH | lch(61.92, 66.19, 307.80°) |
| OKLab | oklab(68.83% 0.0831 -0.1471) |
| OKLCH | oklch(68.83% 0.169 299.5) |
| XYZ | xyz(40.5578, 30.3074, 88.4898) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.27
Light Purple
#BF77F6
ΔE00 4.29
Easter Purple
#C071FE
ΔE00 5.05
Liliac
#C48EFD
ΔE00 5.63
Mediumpurple
#9370DB
ΔE00 6.38
Periwinkle (survey)
#8E82FE
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7FF3 #C7F37F
analogous
#7F8DF3 #AB7FF3 #E57FF3
triadic
#AB7FF3 #F3AB7F #7FF3AB
tetradic
#AB7FF3 #F37F8D #C7F37F #7FF3E5
square
#AB7FF3 #F37F8D #C7F37F #7FF3E5
split-complementary
#AB7FF3 #F3E57F #8DF37F
monochromatic
#6315E2 #8647EE #AB7FF3 #D0B7F8 #EDE3FC
Accessibility & contrast
On white
2.97
#AB7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#AB7FF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB7FF3
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7FF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7FF3 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#6495F0
Tritanopia (blue-blind)
#9C94AE
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #ab7ff3; /* rgb */ color: rgb(171, 127, 243); /* oklch */ color: oklch(68.8% 0.169 299.5);
Tailwind
colors: {
custom: {
50: '#c7a5f7',
500: '#ab7ff3',
950: '#000000',
},
}SCSS
$custom: #ab7ff3; $custom-light: #c7a5f7; $custom-dark: #000000;
JSON
{
"hex": "#ab7ff3",
"rgb": {
"r": 171,
"g": 127,
"b": 243
},
"hsl": {
"h": 262.759,
"s": 82.857,
"l": 72.549
},
"oklch": {
"l": 0.68833,
"c": 0.16889,
"h": 299.5
},
"luminance": 0.30308
}Semantic roles & 50–950 ramp
primary
#AB7FF3
secondary
#E9F4D7
accent
#DF068D
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85