#8A96CC#8A96CC

#8A96CC is a light, moderate blue. Relative luminance 0.316; OKLCH L 68.4% C 0.081 H 274.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A96CC
RGBrgb(138, 150, 204)
HSLhsl(229, 39%, 67%)
HSVhsv(229, 32%, 80%)
CMYKcmyk(32.4%, 26.5%, 0%, 20%)
CIE-LABlab(62.99, 8.39, -29.14)
CIE-LCHlch(62.99, 30.33, 286.06°)
OKLaboklab(68.4% 0.0062 -0.0808)
OKLCHoklch(68.4% 0.081 274.4)
XYZxyz(32.2836, 31.5745, 61.5085)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96CC #CCC08A
analogous
#8AB7CC #8A96CC #9F8ACC
triadic
#8A96CC #CC8A96 #96CC8A
tetradic
#8A96CC #CC8AB7 #CCC08A #8ACC9F
square
#8A96CC #CC8AB7 #CCC08A #8ACC9F
split-complementary
#8A96CC #CC9F8A #B7CC8A
monochromatic
#435299 #5F70B9 #8A96CC #B5BCDF #DFE3F1

Accessibility & contrast

On white

2.87
#8A96CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8A96CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96CC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96CC#FFFFFF#000000##000000
##8A96CC1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCE
Deuteranopia (green-blind)
#8196CB
Tritanopia (blue-blind)
#78A0A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a96cc;
/* rgb */ color: rgb(138, 150, 204);
/* oklch */ color: oklch(68.4% 0.081 274.4);
Tailwind
colors: {
  custom: {
    50: '#aeb4db',
    500: '#8a96cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a96cc;
$custom-light: #aeb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96cc",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 229.091,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68396,
    "c": 0.08101,
    "h": 274.4
  },
  "luminance": 0.31576
}

Semantic roles & 50–950 ramp

primary
#8A96CC
secondary
#E3E0CE
accent
#9B33B2
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A96CC

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

Preview Lab → · Contrast checker → · Palette generator →

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