#AB9FF2#AB9FF2
#AB9FF2 is a light, moderate blue. Relative luminance 0.399; OKLCH L 74.5% C 0.118 H 289.8°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9FF2 |
|---|---|
| RGB | rgb(171, 159, 242) |
| HSL | hsl(249, 76%, 79%) |
| HSV | hsv(249, 34%, 95%) |
| CMYK | cmyk(29.3%, 34.3%, 0%, 5.1%) |
| CIE-LAB | lab(69.37, 22.33, -40.01) |
| CIE-LCH | lch(69.37, 45.83, 299.17°) |
| OKLab | oklab(74.46% 0.0402 -0.1114) |
| OKLCH | oklch(74.46% 0.118 289.8) |
| XYZ | xyz(45.2157, 39.8641, 89.2995) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.88
Pastel Purple
#CAA0FF
ΔE00 6.50
Periwinkle Blue
#8F99FB
ΔE00 6.65
Perrywinkle
#8F8CE7
ΔE00 6.70
Lavender (survey)
#C79FEF
ΔE00 6.91
Lilac (survey)
#CEA2FD
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9FF2 #E6F29F
analogous
#9FBCF2 #AB9FF2 #D49FF2
triadic
#AB9FF2 #F2AB9F #9FF2AB
tetradic
#AB9FF2 #F29FBC #E6F29F #9FF2D4
square
#AB9FF2 #F29FBC #E6F29F #9FF2D4
split-complementary
#AB9FF2 #F2D49F #BCF29F
monochromatic
#4D33E3 #7C69EB #AB9FF2 #DAD5F9 #E7E4FB
Accessibility & contrast
On white
2.34
#AB9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#AB9FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9FF2
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9FF2 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#9BAEBD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #ab9ff2; /* rgb */ color: rgb(171, 159, 242); /* oklch */ color: oklch(74.5% 0.118 289.8);
Tailwind
colors: {
custom: {
50: '#c6bbf6',
500: '#ab9ff2',
950: '#000000',
},
}SCSS
$custom: #ab9ff2; $custom-light: #c6bbf6; $custom-dark: #000000;
JSON
{
"hex": "#ab9ff2",
"rgb": {
"r": 171,
"g": 159,
"b": 242
},
"hsl": {
"h": 248.675,
"s": 76.147,
"l": 78.627
},
"oklch": {
"l": 0.74462,
"c": 0.11846,
"h": 289.8
},
"luminance": 0.39865
}Semantic roles & 50–950 ramp
primary
#AB9FF2
secondary
#EFF3D8
accent
#D80DBB
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085