#8A97C2#8A97C2

#8A97C2 is a light, moderate blue. Relative luminance 0.314; OKLCH L 68.2% C 0.065 H 271.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A97C2
RGBrgb(138, 151, 194)
HSLhsl(226, 31%, 65%)
HSVhsv(226, 29%, 76%)
CMYKcmyk(28.9%, 22.2%, 0%, 23.9%)
CIE-LABlab(62.87, 5.26, -23.73)
CIE-LCHlch(62.87, 24.31, 282.50°)
OKLaboklab(68.17% 0.0017 -0.0654)
OKLCHoklch(68.17% 0.065 271.5)
XYZxyz(31.2828, 31.4306, 55.4470)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97C2 #C2B58A
analogous
#8AB3C2 #8A97C2 #998AC2
triadic
#8A97C2 #C28A97 #97C28A
tetradic
#8A97C2 #C28AB3 #C2B58A #8AC299
square
#8A97C2 #C28AB3 #C2B58A #8AC299
split-complementary
#8A97C2 #C2998A #B3C28A
monochromatic
#48578A #6273AD #8A97C2 #B2BBD7 #DADFEC

Accessibility & contrast

On white

2.88
#8A97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8A97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97C2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97C2#FFFFFF#000000##000000
##8A97C21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC4
Deuteranopia (green-blind)
#8696C1
Tritanopia (blue-blind)
#7B9FA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a97c2;
/* rgb */ color: rgb(138, 151, 194);
/* oklch */ color: oklch(68.2% 0.065 271.5);
Tailwind
colors: {
  custom: {
    50: '#adb5d4',
    500: '#8a97c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a97c2;
$custom-light: #adb5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97c2",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 226.071,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.0654,
    "h": 271.5
  },
  "luminance": 0.31432
}

Semantic roles & 50–950 ramp

primary
#8A97C2
secondary
#DDD9CA
accent
#903BAA
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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