#8A97EB#8A97EB

#8A97EB is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.1% C 0.124 H 276.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A97EB
RGBrgb(138, 151, 235)
HSLhsl(232, 71%, 73%)
HSVhsv(232, 41%, 92%)
CMYKcmyk(41.3%, 35.7%, 0%, 7.8%)
CIE-LABlab(64.59, 16.19, -43.84)
CIE-LCHlch(64.59, 46.74, 290.26°)
OKLaboklab(70.07% 0.013 -0.1231)
OKLCHoklch(70.07% 0.124 276)
XYZxyz(36.5387, 33.5329, 83.1284)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97EB #EBDE8A
analogous
#8AC7EB #8A97EB #AD8AEB
triadic
#8A97EB #EB8A97 #97EB8A
tetradic
#8A97EB #EB8AC7 #EBDE8A #8AEBAD
square
#8A97EB #EB8AC7 #EBDE8A #8AEBAD
split-complementary
#8A97EB #EBAD8A #C7EB8A
monochromatic
#253CD6 #5669E2 #8A97EB #BEC5F4 #E5E8FB

Accessibility & contrast

On white

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

On black

7.71
#8A97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97EB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97EB#FFFFFF#000000##000000
##8A97EB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#6BA8B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97eb;
/* rgb */ color: rgb(138, 151, 235);
/* oklch */ color: oklch(70.1% 0.124 276.0);
Tailwind
colors: {
  custom: {
    50: '#b0b5f2',
    500: '#8a97eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a97eb;
$custom-light: #b0b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97eb",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 231.959,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.12384,
    "h": 276
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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