#8A97CD#8A97CD

#8A97CD is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.6% C 0.081 H 273.6°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A97CD
RGBrgb(138, 151, 205)
HSLhsl(228, 40%, 67%)
HSVhsv(228, 33%, 80%)
CMYKcmyk(32.7%, 26.3%, 0%, 19.6%)
CIE-LABlab(63.30, 8.08, -29.23)
CIE-LCHlch(63.30, 30.32, 285.45°)
OKLaboklab(68.65% 0.0052 -0.081)
OKLCHoklch(68.65% 0.081 273.6)
XYZxyz(32.5642, 31.9431, 62.1956)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97CD #CDC08A
analogous
#8AB9CD #8A97CD #9E8ACD
triadic
#8A97CD #CD8A97 #97CD8A
tetradic
#8A97CD #CD8AB9 #CDC08A #8ACD9E
square
#8A97CD #CD8AB9 #CDC08A #8ACD9E
split-complementary
#8A97CD #CD9E8A #B9CD8A
monochromatic
#42539B #5F71BB #8A97CD #B5BDDF #E0E3F2

Accessibility & contrast

On white

2.84
#8A97CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8A97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97CD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97CD#FFFFFF#000000##000000
##8A97CD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#8197CC
Tritanopia (blue-blind)
#78A1AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a97cd;
/* rgb */ color: rgb(138, 151, 205);
/* oklch */ color: oklch(68.6% 0.081 273.6);
Tailwind
colors: {
  custom: {
    50: '#aeb5dc',
    500: '#8a97cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a97cd;
$custom-light: #aeb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97cd",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 228.358,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68647,
    "c": 0.08117,
    "h": 273.6
  },
  "luminance": 0.31944
}

Semantic roles & 50–950 ramp

primary
#8A97CD
secondary
#E4E0CF
accent
#9A32B3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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