#AB9FFE#AB9FFE
#AB9FFE is a light, vivid blue. Relative luminance 0.406; OKLCH L 75.0% C 0.135 H 288.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9FFE |
|---|---|
| RGB | rgb(171, 159, 254) |
| HSL | hsl(248, 98%, 81%) |
| HSV | hsv(248, 37%, 100%) |
| CMYK | cmyk(32.7%, 37.4%, 0%, 0.4%) |
| CIE-LAB | lab(69.90, 25.34, -45.72) |
| CIE-LCH | lch(69.90, 52.27, 299.00°) |
| OKLab | oklab(75.04% 0.0428 -0.1279) |
| OKLCH | oklch(75.04% 0.135 288.5) |
| XYZ | xyz(47.0774, 40.6088, 99.1046) |
| Luminance | 0.4061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.69
Perrywinkle
#8F8CE7
ΔE00 6.65
Pastel Purple
#CAA0FF
ΔE00 6.81
Lavender Blue
#8B88F8
ΔE00 7.72
Lilac (survey)
#CEA2FD
ΔE00 7.76
Baby Purple
#CA9BF7
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9FFE #F2FE9F
analogous
#9FC2FE #AB9FFE #DA9FFE
triadic
#AB9FFE #FEAB9F #9FFEAB
tetradic
#AB9FFE #FE9FC2 #F2FE9F #9FFEDA
square
#AB9FFE #FE9FC2 #F2FE9F #9FFEDA
split-complementary
#AB9FFE #FEDA9F #C2FE9F
monochromatic
#4126FD #7662FD #AB9FFE #E0DCFF #E5E1FF
Accessibility & contrast
On white
2.30
#AB9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#AB9FFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9FFE
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9FFE | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#97B1C3
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #ab9ffe; /* rgb */ color: rgb(171, 159, 254); /* oklch */ color: oklch(75.0% 0.135 288.5);
Tailwind
colors: {
custom: {
50: '#c6bbff',
500: '#ab9ffe',
950: '#000000',
},
}SCSS
$custom: #ab9ffe; $custom-light: #c6bbff; $custom-dark: #000000;
JSON
{
"hex": "#ab9ffe",
"rgb": {
"r": 171,
"g": 159,
"b": 254
},
"hsl": {
"h": 247.579,
"s": 97.938,
"l": 80.98
},
"oklch": {
"l": 0.75039,
"c": 0.1349,
"h": 288.5
},
"luminance": 0.4061
}Semantic roles & 50–950 ramp
primary
#AB9FFE
secondary
#F3F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086