#8A97C8#8A97C8

#8A97C8 is a light, moderate blue. Relative luminance 0.317; OKLCH L 68.4% C 0.074 H 272.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A97C8
RGBrgb(138, 151, 200)
HSLhsl(227, 36%, 66%)
HSVhsv(227, 31%, 78%)
CMYKcmyk(31%, 24.5%, 0%, 21.6%)
CIE-LABlab(63.10, 6.78, -26.74)
CIE-LCHlch(63.10, 27.58, 284.24°)
OKLaboklab(68.43% 0.0036 -0.0739)
OKLCHoklch(68.43% 0.074 272.8)
XYZxyz(31.9703, 31.7056, 59.0677)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97C8 #C8BB8A
analogous
#8AB6C8 #8A97C8 #9C8AC8
triadic
#8A97C8 #C88A97 #97C88A
tetradic
#8A97C8 #C88AB6 #C8BB8A #8AC89C
square
#8A97C8 #C88AB6 #C8BB8A #8AC89C
split-complementary
#8A97C8 #C89C8A #B6C88A
monochromatic
#455593 #6072B4 #8A97C8 #B4BCDC #DDE1EF

Accessibility & contrast

On white

2.86
#8A97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8A97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97C8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97C8#FFFFFF#000000##000000
##8A97C81.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BCA
Deuteranopia (green-blind)
#8396C7
Tritanopia (blue-blind)
#79A0A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a97c8;
/* rgb */ color: rgb(138, 151, 200);
/* oklch */ color: oklch(68.4% 0.074 272.8);
Tailwind
colors: {
  custom: {
    50: '#adb5d9',
    500: '#8a97c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a97c8;
$custom-light: #adb5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97c8",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 227.419,
    "s": 36.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68428,
    "c": 0.074,
    "h": 272.8
  },
  "luminance": 0.31707
}

Semantic roles & 50–950 ramp

primary
#8A97C8
secondary
#E1DDCD
accent
#9637AF
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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