#8A97FB#8A97FB
#8A97FB is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.9% C 0.146 H 276.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A97FB |
|---|---|
| RGB | rgb(138, 151, 251) |
| HSL | hsl(233, 93%, 76%) |
| HSV | hsv(233, 45%, 98%) |
| CMYK | cmyk(45%, 39.8%, 0%, 1.6%) |
| CIE-LAB | lab(65.36, 20.73, -51.41) |
| CIE-LCH | lch(65.36, 55.43, 291.96°) |
| OKLab | oklab(70.91% 0.0163 -0.1452) |
| OKLCH | oklch(70.91% 0.146 276.4) |
| XYZ | xyz(38.9551, 34.4995, 95.8545) |
| Luminance | 0.3450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 0.98
Lavender Blue
#8B88F8
ΔE00 4.73
Perrywinkle
#8F8CE7
ΔE00 4.94
Periwinkle (survey)
#8E82FE
ΔE00 6.74
Soft Blue
#6488EA
ΔE00 7.25
Cornflowerblue
#6495ED
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A97FB #FBEE8A
analogous
#8AD0FB #8A97FB #B68AFB
triadic
#8A97FB #FB8A97 #97FB8A
tetradic
#8A97FB #FB8AD0 #FBEE8A #8AFBB6
square
#8A97FB #FB8AD0 #FBEE8A #8AFBB6
split-complementary
#8A97FB #FBB68A #D0FB8A
monochromatic
#142EF7 #4F62F9 #8A97FB #C5CCFD #E1E5FE
Accessibility & contrast
On white
2.66
#8A97FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#8A97FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A97FB
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A97FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A97FB | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A3FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#62ACBD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #8a97fb; /* rgb */ color: rgb(138, 151, 251); /* oklch */ color: oklch(70.9% 0.146 276.4);
Tailwind
colors: {
custom: {
50: '#b1b5fd',
500: '#8a97fb',
950: '#000000',
},
}SCSS
$custom: #8a97fb; $custom-light: #b1b5fd; $custom-dark: #000000;
JSON
{
"hex": "#8a97fb",
"rgb": {
"r": 138,
"g": 151,
"b": 251
},
"hsl": {
"h": 233.097,
"s": 93.388,
"l": 76.275
},
"oklch": {
"l": 0.70913,
"c": 0.1461,
"h": 276.4
},
"luminance": 0.34502
}Semantic roles & 50–950 ramp
primary
#8A97FB
secondary
#F6F2D5
accent
#CB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086