#8A97ED#8A97ED

#8A97ED is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.127 H 276.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8A97ED
RGBrgb(138, 151, 237)
HSLhsl(232, 73%, 74%)
HSVhsv(232, 42%, 93%)
CMYKcmyk(41.8%, 36.3%, 0%, 7.1%)
CIE-LABlab(64.68, 16.75, -44.80)
CIE-LCHlch(64.68, 47.83, 290.50°)
OKLaboklab(70.18% 0.0135 -0.1259)
OKLCHoklch(70.18% 0.127 276.1)
XYZxyz(36.8293, 33.6492, 84.6587)
Luminance0.3365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97ED #EDE08A
analogous
#8AC8ED #8A97ED #AE8AED
triadic
#8A97ED #ED8A97 #97ED8A
tetradic
#8A97ED #ED8AC8 #EDE08A #8AEDAE
square
#8A97ED #ED8AC8 #EDE08A #8AEDAE
split-complementary
#8A97ED #EDAE8A #C8ED8A
monochromatic
#223ADB #5568E5 #8A97ED #BFC6F5 #E4E7FB

Accessibility & contrast

On white

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

On black

7.73
#8A97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97ED
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97ED#FFFFFF#000000##000000
##8A97ED1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#6AA8B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97ed;
/* rgb */ color: rgb(138, 151, 237);
/* oklch */ color: oklch(70.2% 0.127 276.1);
Tailwind
colors: {
  custom: {
    50: '#b0b5f3',
    500: '#8a97ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ed;
$custom-light: #b0b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ed",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 232.121,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70176,
    "c": 0.12664,
    "h": 276.1
  },
  "luminance": 0.33651
}

Semantic roles & 50–950 ramp

primary
#8A97ED
secondary
#F3EFD8
accent
#BC10D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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