#8A97EE#8A97EE
#8A97EE is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.128 H 276.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A97EE |
|---|---|
| RGB | rgb(138, 151, 238) |
| HSL | hsl(232, 75%, 74%) |
| HSV | hsv(232, 42%, 93%) |
| CMYK | cmyk(42%, 36.6%, 0%, 6.7%) |
| CIE-LAB | lab(64.73, 17.03, -45.28) |
| CIE-LCH | lch(64.73, 48.37, 290.61°) |
| OKLab | oklab(70.23% 0.0137 -0.1273) |
| OKLCH | oklch(70.23% 0.128 276.1) |
| XYZ | xyz(36.9758, 33.7078, 85.4303) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 1.85
Perrywinkle
#8F8CE7
ΔE00 4.24
Lavender Blue
#8B88F8
ΔE00 5.09
Soft Blue
#6488EA
ΔE00 7.19
Periwinkle (survey)
#8E82FE
ΔE00 7.24
Cornflowerblue
#6495ED
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A97EE #EEE18A
analogous
#8AC9EE #8A97EE #AF8AEE
triadic
#8A97EE #EE8A97 #97EE8A
tetradic
#8A97EE #EE8AC9 #EEE18A #8AEEAF
square
#8A97EE #EE8AC9 #EEE18A #8AEEAF
split-complementary
#8A97EE #EEAF8A #C9EE8A
monochromatic
#2039DD #5567E6 #8A97EE #BFC6F6 #E4E7FB
Accessibility & contrast
On white
2.71
#8A97EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#8A97EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8A97EE
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A97EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A97EE | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A1F1
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#69A9B7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #8a97ee; /* rgb */ color: rgb(138, 151, 238); /* oklch */ color: oklch(70.2% 0.128 276.1);
Tailwind
colors: {
custom: {
50: '#b0b5f4',
500: '#8a97ee',
950: '#000000',
},
}SCSS
$custom: #8a97ee; $custom-light: #b0b5f4; $custom-dark: #000000;
JSON
{
"hex": "#8a97ee",
"rgb": {
"r": 138,
"g": 151,
"b": 238
},
"hsl": {
"h": 232.2,
"s": 74.627,
"l": 73.725
},
"oklch": {
"l": 0.70227,
"c": 0.12804,
"h": 276.1
},
"luminance": 0.3371
}Semantic roles & 50–950 ramp
primary
#8A97EE
secondary
#F3EFD8
accent
#BD0FD7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085