#8A97CF#8A97CF

#8A97CF is a light, moderate blue. Relative luminance 0.320; OKLCH L 68.7% C 0.084 H 273.9°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A97CF
RGBrgb(138, 151, 207)
HSLhsl(229, 42%, 68%)
HSVhsv(229, 33%, 81%)
CMYKcmyk(33.3%, 27.1%, 0%, 18.8%)
CIE-LABlab(63.38, 8.60, -30.22)
CIE-LCHlch(63.38, 31.42, 285.88°)
OKLaboklab(68.74% 0.0058 -0.0838)
OKLCHoklch(68.74% 0.084 273.9)
XYZxyz(32.8071, 32.0403, 63.4752)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97CF #CFC28A
analogous
#8AB9CF #8A97CF #A08ACF
triadic
#8A97CF #CF8A97 #97CF8A
tetradic
#8A97CF #CF8AB9 #CFC28A #8ACFA0
square
#8A97CF #CF8AB9 #CFC28A #8ACFA0
split-complementary
#8A97CF #CFA08A #B9CF8A
monochromatic
#41529E #5F70BD #8A97CF #B5BEE1 #E1E4F3

Accessibility & contrast

On white

2.83
#8A97CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#8A97CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97CF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97CF#FFFFFF#000000##000000
##8A97CF1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CD1
Deuteranopia (green-blind)
#8097CE
Tritanopia (blue-blind)
#77A2AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a97cf;
/* rgb */ color: rgb(138, 151, 207);
/* oklch */ color: oklch(68.7% 0.084 273.9);
Tailwind
colors: {
  custom: {
    50: '#aeb5de',
    500: '#8a97cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a97cf;
$custom-light: #aeb5de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97cf",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 228.696,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68736,
    "c": 0.08405,
    "h": 273.9
  },
  "luminance": 0.32041
}

Semantic roles & 50–950 ramp

primary
#8A97CF
secondary
#E5E1D0
accent
#9C31B5
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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