#AB7FE3#AB7FE3
#AB7FE3 is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.0% C 0.149 H 302.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7FE3 |
|---|---|
| RGB | rgb(171, 127, 227) |
| HSL | hsl(266, 64%, 69%) |
| HSV | hsv(266, 44%, 89%) |
| CMYK | cmyk(24.7%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(61.12, 36.73, -44.69) |
| CIE-LCH | lch(61.12, 57.85, 309.41°) |
| OKLab | oklab(67.97% 0.081 -0.1249) |
| OKLCH | oklch(67.97% 0.149 302.9) |
| XYZ | xyz(38.2461, 29.3828, 76.3147) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.15
Easter Purple
#C071FE
ΔE00 5.99
Liliac
#C48EFD
ΔE00 6.03
Mediumpurple
#9370DB
ΔE00 6.12
Wisteria
#A87DC2
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7FE3 #B7E37F
analogous
#7F85E3 #AB7FE3 #DD7FE3
triadic
#AB7FE3 #E3AB7F #7FE3AB
tetradic
#AB7FE3 #E37F85 #B7E37F #7FE3DD
square
#AB7FE3 #E37F85 #B7E37F #7FE3DD
split-complementary
#AB7FE3 #E3DD7F #85E37F
monochromatic
#6B2ABE #8A4DD8 #AB7FE3 #CCB1EE #EDE3F9
Accessibility & contrast
On white
3.05
#AB7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#AB7FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7FE3
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7FE3 | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6493E7
Deuteranopia (green-blind)
#6E93E0
Tritanopia (blue-blind)
#A190A6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #ab7fe3; /* rgb */ color: rgb(171, 127, 227); /* oklch */ color: oklch(68.0% 0.149 302.9);
Tailwind
colors: {
custom: {
50: '#c6a5ec',
500: '#ab7fe3',
950: '#000000',
},
}SCSS
$custom: #ab7fe3; $custom-light: #c6a5ec; $custom-dark: #000000;
JSON
{
"hex": "#ab7fe3",
"rgb": {
"r": 171,
"g": 127,
"b": 227
},
"hsl": {
"h": 266.4,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.67972,
"c": 0.14885,
"h": 302.9
},
"luminance": 0.29383
}Semantic roles & 50–950 ramp
primary
#AB7FE3
secondary
#E1EDD0
accent
#CC1A7D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84