#AB9FFD#AB9FFD
#AB9FFD is a light, vivid blue. Relative luminance 0.405; OKLCH L 75.0% C 0.134 H 288.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9FFD |
|---|---|
| RGB | rgb(171, 159, 253) |
| HSL | hsl(248, 96%, 81%) |
| HSV | hsv(248, 37%, 99%) |
| CMYK | cmyk(32.4%, 37.2%, 0%, 0.8%) |
| CIE-LAB | lab(69.86, 25.09, -45.25) |
| CIE-LCH | lch(69.86, 51.74, 299.01°) |
| OKLab | oklab(74.99% 0.0426 -0.1266) |
| OKLCH | oklch(74.99% 0.134 288.6) |
| XYZ | xyz(46.9177, 40.5449, 98.2635) |
| Luminance | 0.4055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.74
Perrywinkle
#8F8CE7
ΔE00 6.63
Pastel Purple
#CAA0FF
ΔE00 6.76
Lavender
#B39DDB
ΔE00 7.69
Lilac (survey)
#CEA2FD
ΔE00 7.70
Lavender Blue
#8B88F8
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9FFD #F1FD9F
analogous
#9FC2FD #AB9FFD #DA9FFD
triadic
#AB9FFD #FDAB9F #9FFDAB
tetradic
#AB9FFD #FD9FC2 #F1FD9F #9FFDDA
square
#AB9FFD #FD9FC2 #F1FD9F #9FFDDA
split-complementary
#AB9FFD #FDDA9F #C2FD9F
monochromatic
#4227FB #7763FC #AB9FFD #DFDBFE #E5E1FE
Accessibility & contrast
On white
2.31
#AB9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#AB9FFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9FFD
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9FFD | 1.00 | 2.31 | 9.11 | 9.11 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#97B0C2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #ab9ffd; /* rgb */ color: rgb(171, 159, 253); /* oklch */ color: oklch(75.0% 0.134 288.6);
Tailwind
colors: {
custom: {
50: '#c6bbfe',
500: '#ab9ffd',
950: '#000000',
},
}SCSS
$custom: #ab9ffd; $custom-light: #c6bbfe; $custom-dark: #000000;
JSON
{
"hex": "#ab9ffd",
"rgb": {
"r": 171,
"g": 159,
"b": 253
},
"hsl": {
"h": 247.66,
"s": 95.918,
"l": 80.784
},
"oklch": {
"l": 0.7499,
"c": 0.13353,
"h": 288.6
},
"luminance": 0.40546
}Semantic roles & 50–950 ramp
primary
#AB9FFD
secondary
#F2F7D4
accent
#E600C8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086