#8A97FA#8A97FA
#8A97FA is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.9% C 0.145 H 276.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A97FA |
|---|---|
| RGB | rgb(138, 151, 250) |
| HSL | hsl(233, 92%, 76%) |
| HSV | hsv(233, 45%, 98%) |
| CMYK | cmyk(44.8%, 39.6%, 0%, 2%) |
| CIE-LAB | lab(65.31, 20.44, -50.94) |
| CIE-LCH | lch(65.31, 54.89, 291.86°) |
| OKLab | oklab(70.86% 0.0161 -0.1438) |
| OKLCH | oklch(70.86% 0.145 276.4) |
| XYZ | xyz(38.7979, 34.4366, 95.0265) |
| Luminance | 0.3444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 0.97
Lavender Blue
#8B88F8
ΔE00 4.74
Perrywinkle
#8F8CE7
ΔE00 4.87
Periwinkle (survey)
#8E82FE
ΔE00 6.76
Soft Blue
#6488EA
ΔE00 7.23
Cornflowerblue
#6495ED
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A97FA #FAED8A
analogous
#8ACFFA #8A97FA #B58AFA
triadic
#8A97FA #FA8A97 #97FA8A
tetradic
#8A97FA #FA8ACF #FAED8A #8AFAB5
square
#8A97FA #FA8ACF #FAED8A #8AFAB5
split-complementary
#8A97FA #FAB58A #CFFA8A
monochromatic
#152FF5 #4F63F7 #8A97FA #C5CBFD #E2E5FE
Accessibility & contrast
On white
2.66
#8A97FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#8A97FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A97FA
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A97FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A97FA | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#63ABBC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #8a97fa; /* rgb */ color: rgb(138, 151, 250); /* oklch */ color: oklch(70.9% 0.145 276.4);
Tailwind
colors: {
custom: {
50: '#b1b5fc',
500: '#8a97fa',
950: '#000000',
},
}SCSS
$custom: #8a97fa; $custom-light: #b1b5fc; $custom-dark: #000000;
JSON
{
"hex": "#8a97fa",
"rgb": {
"r": 138,
"g": 151,
"b": 250
},
"hsl": {
"h": 233.036,
"s": 91.803,
"l": 76.078
},
"oklch": {
"l": 0.70859,
"c": 0.14472,
"h": 276.4
},
"luminance": 0.34439
}Semantic roles & 50–950 ramp
primary
#8A97FA
secondary
#F6F2D5
accent
#CB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085