#8A96FB#8A96FB
#8A96FB is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.7% C 0.147 H 276.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8A96FB |
|---|---|
| RGB | rgb(138, 150, 251) |
| HSL | hsl(234, 93%, 76%) |
| HSV | hsv(234, 45%, 98%) |
| CMYK | cmyk(45%, 40.2%, 0%, 1.6%) |
| CIE-LAB | lab(65.10, 21.30, -51.81) |
| CIE-LCH | lch(65.10, 56.02, 292.35°) |
| OKLab | oklab(70.72% 0.0175 -0.1464) |
| OKLCH | oklch(70.72% 0.147 276.8) |
| XYZ | xyz(38.7948, 34.1790, 95.8011) |
| Luminance | 0.3418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.09
Lavender Blue
#8B88F8
ΔE00 4.42
Perrywinkle
#8F8CE7
ΔE00 4.71
Periwinkle (survey)
#8E82FE
ΔE00 6.43
Soft Blue
#6488EA
ΔE00 7.19
Cornflowerblue
#6495ED
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A96FB #FBEF8A
analogous
#8ACFFB #8A96FB #B78AFB
triadic
#8A96FB #FB8A96 #96FB8A
tetradic
#8A96FB #FB8ACF #FBEF8A #8AFBB7
square
#8A96FB #FB8ACF #FBEF8A #8AFBB7
split-complementary
#8A96FB #FBB78A #CFFB8A
monochromatic
#142CF7 #4F61F9 #8A96FB #C5CBFD #E1E4FE
Accessibility & contrast
On white
2.68
#8A96FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#8A96FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A96FB
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A96FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A96FB | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#62ABBC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #8a96fb; /* rgb */ color: rgb(138, 150, 251); /* oklch */ color: oklch(70.7% 0.147 276.8);
Tailwind
colors: {
custom: {
50: '#b1b4fd',
500: '#8a96fb',
950: '#000000',
},
}SCSS
$custom: #8a96fb; $custom-light: #b1b4fd; $custom-dark: #000000;
JSON
{
"hex": "#8a96fb",
"rgb": {
"r": 138,
"g": 150,
"b": 251
},
"hsl": {
"h": 233.628,
"s": 93.388,
"l": 76.275
},
"oklch": {
"l": 0.7072,
"c": 0.1474,
"h": 276.8
},
"luminance": 0.34181
}Semantic roles & 50–950 ramp
primary
#8A96FB
secondary
#F6F3D5
accent
#CD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086