#AB9DFF#AB9DFF
#AB9DFF is a light, vivid blue. Relative luminance 0.400; OKLCH L 74.7% C 0.139 H 289.1°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9DFF |
|---|---|
| RGB | rgb(171, 157, 255) |
| HSL | hsl(249, 100%, 81%) |
| HSV | hsv(249, 38%, 100%) |
| CMYK | cmyk(32.9%, 38.4%, 0%, 0%) |
| CIE-LAB | lab(69.46, 26.72, -46.95) |
| CIE-LCH | lch(69.46, 54.02, 299.65°) |
| OKLab | oklab(74.72% 0.0456 -0.1315) |
| OKLCH | oklch(74.72% 0.139 289.1) |
| XYZ | xyz(46.8968, 39.9907, 99.8365) |
| Luminance | 0.3999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.72
Perrywinkle
#8F8CE7
ΔE00 6.43
Pastel Purple
#CAA0FF
ΔE00 6.70
Lavender Blue
#8B88F8
ΔE00 7.37
Liliac
#C48EFD
ΔE00 7.52
Baby Purple
#CA9BF7
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9DFF #F1FF9D
analogous
#9DC0FF #AB9DFF #DC9DFF
triadic
#AB9DFF #FFAB9D #9DFFAB
tetradic
#AB9DFF #FF9DC0 #F1FF9D #9DFFDC
square
#AB9DFF #FF9DC0 #F1FF9D #9DFFDC
split-complementary
#AB9DFF #FFDC9D #C0FF9D
monochromatic
#4223FF #7760FF #AB9DFF #DFDAFF #E5E0FF
Accessibility & contrast
On white
2.33
#AB9DFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#AB9DFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9DFF
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9DFF | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#7FA7FD
Tritanopia (blue-blind)
#96AFC2
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ab9dff; /* rgb */ color: rgb(171, 157, 255); /* oklch */ color: oklch(74.7% 0.139 289.1);
Tailwind
colors: {
custom: {
50: '#c6baff',
500: '#ab9dff',
950: '#000000',
},
}SCSS
$custom: #ab9dff; $custom-light: #c6baff; $custom-dark: #000000;
JSON
{
"hex": "#ab9dff",
"rgb": {
"r": 171,
"g": 157,
"b": 255
},
"hsl": {
"h": 248.571,
"s": 100,
"l": 80.784
},
"oklch": {
"l": 0.7472,
"c": 0.13919,
"h": 289.1
},
"luminance": 0.39992
}Semantic roles & 50–950 ramp
primary
#AB9DFF
secondary
#F2F7D4
accent
#E600C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086