#8A97E8#8A97E8

#8A97E8 is a light, moderate blue. Relative luminance 0.334; OKLCH L 69.9% C 0.120 H 275.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A97E8
RGBrgb(138, 151, 232)
HSLhsl(232, 67%, 73%)
HSVhsv(232, 41%, 91%)
CMYKcmyk(40.5%, 34.9%, 0%, 9%)
CIE-LABlab(64.45, 15.35, -42.41)
CIE-LCHlch(64.45, 45.10, 289.90°)
OKLaboklab(69.92% 0.0123 -0.119)
OKLCHoklch(69.92% 0.12 275.9)
XYZxyz(36.1090, 33.3610, 80.8650)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97E8 #E8DB8A
analogous
#8AC6E8 #8A97E8 #AC8AE8
triadic
#8A97E8 #E88A97 #97E88A
tetradic
#8A97E8 #E88AC6 #E8DB8A #8AE8AC
square
#8A97E8 #E88AC6 #E8DB8A #8AE8AC
split-complementary
#8A97E8 #E8AC8A #C6E88A
monochromatic
#2940CF #576ADE #8A97E8 #BDC4F2 #E5E8FA

Accessibility & contrast

On white

2.74
#8A97E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8A97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97E8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97E8#FFFFFF#000000##000000
##8A97E81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EB
Deuteranopia (green-blind)
#7499E6
Tritanopia (blue-blind)
#6CA7B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a97e8;
/* rgb */ color: rgb(138, 151, 232);
/* oklch */ color: oklch(69.9% 0.120 275.9);
Tailwind
colors: {
  custom: {
    50: '#b0b5ef',
    500: '#8a97e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a97e8;
$custom-light: #b0b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97e8",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 231.702,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69922,
    "c": 0.11962,
    "h": 275.9
  },
  "luminance": 0.33363
}

Semantic roles & 50–950 ramp

primary
#8A97E8
secondary
#F1EEDA
accent
#B616CF
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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