#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
RGBrgb(138, 151, 238)
HSLhsl(232, 75%, 74%)
HSVhsv(232, 42%, 93%)
CMYKcmyk(42%, 36.6%, 0%, 6.7%)
CIE-LABlab(64.73, 17.03, -45.28)
CIE-LCHlch(64.73, 48.37, 290.61°)
OKLaboklab(70.23% 0.0137 -0.1273)
OKLCHoklch(70.23% 0.128 276.1)
XYZxyz(36.9758, 33.7078, 85.4303)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##8A97EE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.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

Preview Lab

Preview with #8A97EE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A97EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva