#AB9FE2#AB9FE2
#AB9FE2 is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.7% C 0.096 H 292.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9FE2 |
|---|---|
| RGB | rgb(171, 159, 226) |
| HSL | hsl(251, 54%, 75%) |
| HSV | hsv(251, 30%, 89%) |
| CMYK | cmyk(24.3%, 29.6%, 0%, 11.4%) |
| CIE-LAB | lab(68.71, 18.46, -32.28) |
| CIE-LCH | lch(68.71, 37.18, 299.76°) |
| OKLab | oklab(73.74% 0.0362 -0.0892) |
| OKLCH | oklch(73.74% 0.096 292.1) |
| XYZ | xyz(42.9169, 38.9446, 77.1927) |
| Luminance | 0.3895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.21
Lavender (survey)
#C79FEF
ΔE00 6.34
Pale Purple
#B790D4
ΔE00 7.00
Pale Violet
#CEAEFA
ΔE00 7.07
Pastel Purple
#CAA0FF
ΔE00 7.22
Baby Purple
#CA9BF7
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9FE2 #D6E29F
analogous
#9FB4E2 #AB9FE2 #CC9FE2
triadic
#AB9FE2 #E2AB9F #9FE2AB
tetradic
#AB9FE2 #E29FB4 #D6E29F #9FE2CC
square
#AB9FE2 #E29FB4 #D6E29F #9FE2CC
split-complementary
#AB9FE2 #E2CC9F #B4E29F
monochromatic
#5941C6 #8270D4 #AB9FE2 #D4CEF0 #EAE7F8
Accessibility & contrast
On white
2.39
#AB9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#AB9FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9FE2
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9FE2 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA9E5
Deuteranopia (green-blind)
#8FA6E0
Tritanopia (blue-blind)
#9FAAB7
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ab9fe2; /* rgb */ color: rgb(171, 159, 226); /* oklch */ color: oklch(73.7% 0.096 292.1);
Tailwind
colors: {
custom: {
50: '#c5bbeb',
500: '#ab9fe2',
950: '#000000',
},
}SCSS
$custom: #ab9fe2; $custom-light: #c5bbeb; $custom-dark: #000000;
JSON
{
"hex": "#ab9fe2",
"rgb": {
"r": 171,
"g": 159,
"b": 226
},
"hsl": {
"h": 250.746,
"s": 53.6,
"l": 75.49
},
"oklch": {
"l": 0.73736,
"c": 0.09629,
"h": 292.1
},
"luminance": 0.38945
}Semantic roles & 50–950 ramp
primary
#AB9FE2
secondary
#ECEFDC
accent
#C124A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084