#AB9FFA#AB9FFA
#AB9FFA is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.8% C 0.129 H 288.9°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9FFA |
|---|---|
| RGB | rgb(171, 159, 250) |
| HSL | hsl(248, 90%, 80%) |
| HSV | hsv(248, 36%, 98%) |
| CMYK | cmyk(31.6%, 36.4%, 0%, 2%) |
| CIE-LAB | lab(69.72, 24.33, -43.83) |
| CIE-LCH | lch(69.72, 50.13, 299.04°) |
| OKLab | oklab(74.84% 0.042 -0.1224) |
| OKLCH | oklch(74.84% 0.129 288.9) |
| XYZ | xyz(46.4435, 40.3553, 95.7663) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.93
Perrywinkle
#8F8CE7
ΔE00 6.59
Pastel Purple
#CAA0FF
ΔE00 6.64
Lavender
#B39DDB
ΔE00 7.21
Lilac (survey)
#CEA2FD
ΔE00 7.54
Lavender (survey)
#C79FEF
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9FFA #EEFA9F
analogous
#9FC0FA #AB9FFA #D89FFA
triadic
#AB9FFA #FAAB9F #9FFAAB
tetradic
#AB9FFA #FA9FC0 #EEFA9F #9FFAD8
square
#AB9FFA #FA9FC0 #EEFA9F #9FFAD8
split-complementary
#AB9FFA #FAD89F #C0FA9F
monochromatic
#452BF4 #7865F7 #AB9FFA #DED9FD #E6E2FD
Accessibility & contrast
On white
2.32
#AB9FFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#AB9FFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9FFA
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9FFA | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#98B0C1
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #ab9ffa; /* rgb */ color: rgb(171, 159, 250); /* oklch */ color: oklch(74.8% 0.129 288.9);
Tailwind
colors: {
custom: {
50: '#c6bbfc',
500: '#ab9ffa',
950: '#000000',
},
}SCSS
$custom: #ab9ffa; $custom-light: #c6bbfc; $custom-dark: #000000;
JSON
{
"hex": "#ab9ffa",
"rgb": {
"r": 171,
"g": 159,
"b": 250
},
"hsl": {
"h": 247.912,
"s": 90.099,
"l": 80.196
},
"oklch": {
"l": 0.74844,
"c": 0.12944,
"h": 288.9
},
"luminance": 0.40356
}Semantic roles & 50–950 ramp
primary
#AB9FFA
secondary
#F1F6D5
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085