#AB8FE1#AB8FE1
#AB8FE1 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.7% C 0.120 H 299.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8FE1 |
|---|---|
| RGB | rgb(171, 143, 225) |
| HSL | hsl(260, 58%, 72%) |
| HSV | hsv(260, 36%, 88%) |
| CMYK | cmyk(24%, 36.4%, 0%, 11.8%) |
| CIE-LAB | lab(64.75, 27.25, -37.88) |
| CIE-LCH | lch(64.75, 46.66, 305.73°) |
| OKLab | oklab(70.69% 0.0584 -0.1052) |
| OKLCH | oklch(70.69% 0.12 299) |
| XYZ | xyz(40.2046, 33.7389, 75.6137) |
| Luminance | 0.3374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.76
Lavender
#B39DDB
ΔE00 5.12
Liliac
#C48EFD
ΔE00 5.92
Lavender (survey)
#C79FEF
ΔE00 6.17
Baby Purple
#CA9BF7
ΔE00 6.25
Pastel Purple
#CAA0FF
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8FE1 #C5E18F
analogous
#8F9CE1 #AB8FE1 #D48FE1
triadic
#AB8FE1 #E1AB8F #8FE1AB
tetradic
#AB8FE1 #E18F9C #C5E18F #8FE1D4
square
#AB8FE1 #E18F9C #C5E18F #8FE1D4
split-complementary
#AB8FE1 #E1D48F #9CE18F
monochromatic
#6434C2 #875FD4 #AB8FE1 #CFBFEE #EDE7F9
Accessibility & contrast
On white
2.71
#AB8FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#AB8FE1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB8FE1
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8FE1 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9DE4
Deuteranopia (green-blind)
#809CDF
Tritanopia (blue-blind)
#A19DAE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ab8fe1; /* rgb */ color: rgb(171, 143, 225); /* oklch */ color: oklch(70.7% 0.120 299.0);
Tailwind
colors: {
custom: {
50: '#c5b0ea',
500: '#ab8fe1',
950: '#000000',
},
}SCSS
$custom: #ab8fe1; $custom-light: #c5b0ea; $custom-dark: #000000;
JSON
{
"hex": "#ab8fe1",
"rgb": {
"r": 171,
"g": 143,
"b": 225
},
"hsl": {
"h": 260.488,
"s": 57.746,
"l": 72.157
},
"oklch": {
"l": 0.70693,
"c": 0.12033,
"h": 299
},
"luminance": 0.33739
}Semantic roles & 50–950 ramp
primary
#AB8FE1
secondary
#E9F0DB
accent
#C5208D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84