#8A96C2#8A96C2

#8A96C2 is a light, moderate blue. Relative luminance 0.311; OKLCH L 68.0% C 0.067 H 272.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8A96C2
RGBrgb(138, 150, 194)
HSLhsl(227, 31%, 65%)
HSVhsv(227, 29%, 76%)
CMYKcmyk(28.9%, 22.7%, 0%, 23.9%)
CIE-LABlab(62.60, 5.83, -24.14)
CIE-LCHlch(62.60, 24.84, 283.58°)
OKLaboklab(67.96% 0.0031 -0.0665)
OKLCHoklch(67.96% 0.067 272.7)
XYZxyz(31.1225, 31.1101, 55.3935)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96C2 #C2B68A
analogous
#8AB2C2 #8A96C2 #9A8AC2
triadic
#8A96C2 #C28A96 #96C28A
tetradic
#8A96C2 #C28AB2 #C2B68A #8AC29A
square
#8A96C2 #C28AB2 #C2B68A #8AC29A
split-complementary
#8A96C2 #C29A8A #B2C28A
monochromatic
#48568A #6272AD #8A96C2 #B2BAD7 #DADEEC

Accessibility & contrast

On white

2.91
#8A96C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#8A96C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96C2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96C2#FFFFFF#000000##000000
##8A96C21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#899AC4
Deuteranopia (green-blind)
#8595C1
Tritanopia (blue-blind)
#7B9EA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a96c2;
/* rgb */ color: rgb(138, 150, 194);
/* oklch */ color: oklch(68.0% 0.067 272.7);
Tailwind
colors: {
  custom: {
    50: '#adb4d4',
    500: '#8a96c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a96c2;
$custom-light: #adb4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96c2",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 194
  },
  "hsl": {
    "h": 227.143,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67964,
    "c": 0.06661,
    "h": 272.7
  },
  "luminance": 0.31111
}

Semantic roles & 50–950 ramp

primary
#8A96C2
secondary
#DDD9CA
accent
#923BAA
background
#FAFBFD
surface
#F4F6FA
border
#CED0D3
text
#101114
muted
#7F8083

Preview Lab

Preview with #8A96C2

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

Preview Lab → · Contrast checker → · Palette generator →

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