#8A96F7#8A96F7
#8A96F7 is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.5% C 0.142 H 276.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A96F7 |
|---|---|
| RGB | rgb(138, 150, 247) |
| HSL | hsl(233, 87%, 75%) |
| HSV | hsv(233, 44%, 97%) |
| CMYK | cmyk(44.1%, 39.3%, 0%, 3.1%) |
| CIE-LAB | lab(64.91, 20.16, -49.94) |
| CIE-LCH | lch(64.91, 53.85, 291.98°) |
| OKLab | oklab(70.5% 0.0167 -0.1409) |
| OKLCH | oklch(70.5% 0.142 276.8) |
| XYZ | xyz(38.1710, 33.9294, 92.5154) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.11
Perrywinkle
#8F8CE7
ΔE00 4.41
Lavender Blue
#8B88F8
ΔE00 4.46
Periwinkle (survey)
#8E82FE
ΔE00 6.53
Soft Blue
#6488EA
ΔE00 7.12
Cornflowerblue
#6495ED
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A96F7 #F7EB8A
analogous
#8ACDF7 #8A96F7 #B48AF7
triadic
#8A96F7 #F78A96 #96F78A
tetradic
#8A96F7 #F78ACD #F7EB8A #8AF7B4
square
#8A96F7 #F78ACD #F7EB8A #8AF7B4
split-complementary
#8A96F7 #F7B48A #CDF78A
monochromatic
#172FEF #5163F3 #8A96F7 #C3C9FB #E2E5FD
Accessibility & contrast
On white
2.70
#8A96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#8A96F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A96F7
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A96F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A96F7 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#65AABB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #8a96f7; /* rgb */ color: rgb(138, 150, 247); /* oklch */ color: oklch(70.5% 0.142 276.8);
Tailwind
colors: {
custom: {
50: '#b1b4fa',
500: '#8a96f7',
950: '#000000',
},
}SCSS
$custom: #8a96f7; $custom-light: #b1b4fa; $custom-dark: #000000;
JSON
{
"hex": "#8a96f7",
"rgb": {
"r": 138,
"g": 150,
"b": 247
},
"hsl": {
"h": 233.394,
"s": 87.2,
"l": 75.49
},
"oklch": {
"l": 0.70504,
"c": 0.14188,
"h": 276.8
},
"luminance": 0.33931
}Semantic roles & 50–950 ramp
primary
#8A96F7
secondary
#F5F2D6
accent
#CB02E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085