#AB9DF2#AB9DF2
#AB9DF2 is a light, vivid blue. Relative luminance 0.392; OKLCH L 74.1% C 0.121 H 290.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9DF2 |
|---|---|
| RGB | rgb(171, 157, 242) |
| HSL | hsl(250, 77%, 78%) |
| HSV | hsv(250, 35%, 95%) |
| CMYK | cmyk(29.3%, 35.1%, 0%, 5.1%) |
| CIE-LAB | lab(68.88, 23.46, -40.78) |
| CIE-LCH | lch(68.88, 47.05, 299.91°) |
| OKLab | oklab(74.09% 0.0429 -0.1136) |
| OKLCH | oklch(74.09% 0.121 290.7) |
| XYZ | xyz(44.8745, 39.1818, 89.1858) |
| Luminance | 0.3918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.88
Pastel Purple
#CAA0FF
ΔE00 6.28
Perrywinkle
#8F8CE7
ΔE00 6.42
Periwinkle Blue
#8F99FB
ΔE00 6.69
Lavender (survey)
#C79FEF
ΔE00 6.74
Baby Purple
#CA9BF7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9DF2 #E4F29D
analogous
#9DB9F2 #AB9DF2 #D59DF2
triadic
#AB9DF2 #F2AB9D #9DF2AB
tetradic
#AB9DF2 #F29DB9 #E4F29D #9DF2D5
square
#AB9DF2 #F29DB9 #E4F29D #9DF2D5
split-complementary
#AB9DF2 #F2D59D #B9F29D
monochromatic
#4E31E4 #7D67EB #AB9DF2 #D9D3F9 #E8E4FB
Accessibility & contrast
On white
2.38
#AB9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#AB9DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9DF2
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9DF2 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF5
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#9BACBC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #ab9df2; /* rgb */ color: rgb(171, 157, 242); /* oklch */ color: oklch(74.1% 0.121 290.7);
Tailwind
colors: {
custom: {
50: '#c6baf6',
500: '#ab9df2',
950: '#000000',
},
}SCSS
$custom: #ab9df2; $custom-light: #c6baf6; $custom-dark: #000000;
JSON
{
"hex": "#ab9df2",
"rgb": {
"r": 171,
"g": 157,
"b": 242
},
"hsl": {
"h": 249.882,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.74087,
"c": 0.12146,
"h": 290.7
},
"luminance": 0.39183
}Semantic roles & 50–950 ramp
primary
#AB9DF2
secondary
#EFF3D8
accent
#D90DB7
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085