#8A96F5#8A96F5
#8A96F5 is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.4% C 0.139 H 276.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A96F5 |
|---|---|
| RGB | rgb(138, 150, 245) |
| HSL | hsl(233, 84%, 75%) |
| HSV | hsv(233, 44%, 96%) |
| CMYK | cmyk(43.7%, 38.8%, 0%, 3.9%) |
| CIE-LAB | lab(64.81, 19.59, -48.99) |
| CIE-LCH | lch(64.81, 52.76, 291.79°) |
| OKLab | oklab(70.4% 0.0164 -0.1381) |
| OKLCH | oklch(70.4% 0.139 276.8) |
| XYZ | xyz(37.8640, 33.8067, 90.8987) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.22
Perrywinkle
#8F8CE7
ΔE00 4.28
Lavender Blue
#8B88F8
ΔE00 4.50
Periwinkle (survey)
#8E82FE
ΔE00 6.60
Soft Blue
#6488EA
ΔE00 7.10
Cornflowerblue
#6495ED
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A96F5 #F5E98A
analogous
#8ACBF5 #8A96F5 #B38AF5
triadic
#8A96F5 #F58A96 #96F58A
tetradic
#8A96F5 #F58ACB #F5E98A #8AF5B3
square
#8A96F5 #F58ACB #F5E98A #8AF5B3
split-complementary
#8A96F5 #F5B38A #CBF58A
monochromatic
#1931EB #5263F0 #8A96F5 #C2C9FA #E3E6FD
Accessibility & contrast
On white
2.71
#8A96F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#8A96F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A96F5
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A96F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A96F5 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A2F9
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#66A9BA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #8a96f5; /* rgb */ color: rgb(138, 150, 245); /* oklch */ color: oklch(70.4% 0.139 276.8);
Tailwind
colors: {
custom: {
50: '#b1b4f9',
500: '#8a96f5',
950: '#000000',
},
}SCSS
$custom: #8a96f5; $custom-light: #b1b4f9; $custom-dark: #000000;
JSON
{
"hex": "#8a96f5",
"rgb": {
"r": 138,
"g": 150,
"b": 245
},
"hsl": {
"h": 233.271,
"s": 84.252,
"l": 75.098
},
"oklch": {
"l": 0.70397,
"c": 0.1391,
"h": 276.8
},
"luminance": 0.33809
}Semantic roles & 50–950 ramp
primary
#8A96F5
secondary
#F5F1D6
accent
#C805E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085