#8A97EC#8A97EC

#8A97EC is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.1% C 0.125 H 276.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A97EC
RGBrgb(138, 151, 236)
HSLhsl(232, 72%, 73%)
HSVhsv(232, 42%, 93%)
CMYKcmyk(41.5%, 36%, 0%, 7.5%)
CIE-LABlab(64.64, 16.47, -44.32)
CIE-LCHlch(64.64, 47.28, 290.38°)
OKLaboklab(70.13% 0.0132 -0.1245)
OKLCHoklch(70.13% 0.125 276.1)
XYZxyz(36.6836, 33.5909, 83.8914)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97EC #ECDF8A
analogous
#8AC8EC #8A97EC #AE8AEC
triadic
#8A97EC #EC8A97 #97EC8A
tetradic
#8A97EC #EC8AC8 #ECDF8A #8AECAE
square
#8A97EC #EC8AC8 #ECDF8A #8AECAE
split-complementary
#8A97EC #ECAE8A #C8EC8A
monochromatic
#233BD8 #5568E3 #8A97EC #BFC6F5 #E5E8FB

Accessibility & contrast

On white

2.72
#8A97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#8A97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97EC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97EC#FFFFFF#000000##000000
##8A97EC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1EF
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#6AA8B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97ec;
/* rgb */ color: rgb(138, 151, 236);
/* oklch */ color: oklch(70.1% 0.125 276.1);
Tailwind
colors: {
  custom: {
    50: '#b0b5f2',
    500: '#8a97ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ec;
$custom-light: #b0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ec",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 232.041,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.12524,
    "h": 276.1
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#8A97EC
secondary
#F2EFD9
accent
#BA11D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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