#8A97CA#8A97CA

#8A97CA is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.5% C 0.077 H 273.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A97CA
RGBrgb(138, 151, 202)
HSLhsl(228, 38%, 67%)
HSVhsv(228, 32%, 79%)
CMYKcmyk(31.7%, 25.2%, 0%, 20.8%)
CIE-LABlab(63.18, 7.30, -27.74)
CIE-LCHlch(63.18, 28.68, 284.74°)
OKLaboklab(68.52% 0.0043 -0.0768)
OKLCHoklch(68.52% 0.077 273.2)
XYZxyz(32.2055, 31.7997, 60.3067)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97CA #CABD8A
analogous
#8AB7CA #8A97CA #9D8ACA
triadic
#8A97CA #CA8A97 #97CA8A
tetradic
#8A97CA #CA8AB7 #CABD8A #8ACA9D
square
#8A97CA #CA8AB7 #CABD8A #8ACA9D
split-complementary
#8A97CA #CA9D8A #B7CA8A
monochromatic
#445496 #6072B7 #8A97CA #B4BCDD #DEE2F0

Accessibility & contrast

On white

2.85
#8A97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8A97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97CA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97CA#FFFFFF#000000##000000
##8A97CA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#8297C9
Tritanopia (blue-blind)
#79A1A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a97ca;
/* rgb */ color: rgb(138, 151, 202);
/* oklch */ color: oklch(68.5% 0.077 273.2);
Tailwind
colors: {
  custom: {
    50: '#adb5da',
    500: '#8a97ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ca;
$custom-light: #adb5da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ca",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 227.813,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.07688,
    "h": 273.2
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#8A97CA
secondary
#E2DECE
accent
#9735B1
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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