#8A96C5#8A96C5

#8A96C5 is a light, moderate blue. Relative luminance 0.312; OKLCH L 68.1% C 0.071 H 273.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A96C5
RGBrgb(138, 150, 197)
HSLhsl(228, 34%, 66%)
HSVhsv(228, 30%, 77%)
CMYKcmyk(29.9%, 23.9%, 0%, 22.7%)
CIE-LABlab(62.71, 6.59, -25.65)
CIE-LCHlch(62.71, 26.48, 284.41°)
OKLaboklab(68.09% 0.0041 -0.0708)
OKLCHoklch(68.09% 0.071 273.3)
XYZxyz(31.4628, 31.2462, 57.1859)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96C5 #C5B98A
analogous
#8AB3C5 #8A96C5 #9B8AC5
triadic
#8A96C5 #C58A96 #96C58A
tetradic
#8A96C5 #C58AB3 #C5B98A #8AC59B
square
#8A96C5 #C58AB3 #C5B98A #8AC59B
split-complementary
#8A96C5 #C59B8A #B3C58A
monochromatic
#46558E #6171B1 #8A96C5 #B3BBD9 #DCDFEE

Accessibility & contrast

On white

2.90
#8A96C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8A96C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96C5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96C5#FFFFFF#000000##000000
##8A96C51.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#889AC7
Deuteranopia (green-blind)
#8396C4
Tritanopia (blue-blind)
#7A9FA6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a96c5;
/* rgb */ color: rgb(138, 150, 197);
/* oklch */ color: oklch(68.1% 0.071 273.3);
Tailwind
colors: {
  custom: {
    50: '#adb4d6',
    500: '#8a96c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a96c5;
$custom-light: #adb4d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96c5",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 197
  },
  "hsl": {
    "h": 227.797,
    "s": 33.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68091,
    "c": 0.07093,
    "h": 273.3
  },
  "luminance": 0.31247
}

Semantic roles & 50–950 ramp

primary
#8A96C5
secondary
#DFDBCC
accent
#9539AD
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A96C5

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

Preview Lab → · Contrast checker → · Palette generator →

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