#8A97C4#8A97C4

#8A97C4 is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.3% C 0.068 H 272.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A97C4
RGBrgb(138, 151, 196)
HSLhsl(227, 33%, 65%)
HSVhsv(227, 30%, 77%)
CMYKcmyk(29.6%, 23%, 0%, 23.1%)
CIE-LABlab(62.95, 5.77, -24.73)
CIE-LCHlch(62.95, 25.40, 283.12°)
OKLaboklab(68.26% 0.0024 -0.0682)
OKLCHoklch(68.26% 0.068 272)
XYZxyz(31.5089, 31.5210, 56.6379)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97C4 #C4B78A
analogous
#8AB4C4 #8A97C4 #9A8AC4
triadic
#8A97C4 #C48A97 #97C48A
tetradic
#8A97C4 #C48AB4 #C4B78A #8AC49A
square
#8A97C4 #C48AB4 #C4B78A #8AC49A
split-complementary
#8A97C4 #C49A8A #B4C48A
monochromatic
#47578D #6173AF #8A97C4 #B3BBD9 #DBDFED

Accessibility & contrast

On white

2.87
#8A97C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8A97C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97C4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97C4#FFFFFF#000000##000000
##8A97C41.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC6
Deuteranopia (green-blind)
#8596C3
Tritanopia (blue-blind)
#7BA0A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a97c4;
/* rgb */ color: rgb(138, 151, 196);
/* oklch */ color: oklch(68.3% 0.068 272.0);
Tailwind
colors: {
  custom: {
    50: '#adb5d6',
    500: '#8a97c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a97c4;
$custom-light: #adb5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97c4",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 196
  },
  "hsl": {
    "h": 226.552,
    "s": 32.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.06826,
    "h": 272
  },
  "luminance": 0.31522
}

Semantic roles & 50–950 ramp

primary
#8A97C4
secondary
#DFDACB
accent
#923AAC
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A97C4

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

Preview Lab → · Contrast checker → · Palette generator →

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