#8A96DE#8A96DE

#8A96DE is a light, moderate blue. Relative luminance 0.325; OKLCH L 69.2% C 0.107 H 276.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A96DE
RGBrgb(138, 150, 222)
HSLhsl(231, 56%, 71%)
HSVhsv(231, 38%, 87%)
CMYKcmyk(37.8%, 32.4%, 0%, 12.9%)
CIE-LABlab(63.74, 13.18, -37.99)
CIE-LCHlch(63.74, 40.21, 289.13°)
OKLaboklab(69.23% 0.0112 -0.1062)
OKLCHoklch(69.23% 0.107 276)
XYZxyz(34.5685, 32.4885, 73.5426)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96DE #DED28A
analogous
#8AC0DE #8A96DE #A88ADE
triadic
#8A96DE #DE8A96 #96DE8A
tetradic
#8A96DE #DE8AC0 #DED28A #8ADEA8
square
#8A96DE #DE8AC0 #DED28A #8ADEA8
split-complementary
#8A96DE #DEA88A #C0DE8A
monochromatic
#3447B9 #5A6BD1 #8A96DE #BAC1EB #E7EAF8

Accessibility & contrast

On white

2.80
#8A96DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#8A96DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96DE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96DE#FFFFFF#000000##000000
##8A96DE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE1
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#71A4B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a96de;
/* rgb */ color: rgb(138, 150, 222);
/* oklch */ color: oklch(69.2% 0.107 276.0);
Tailwind
colors: {
  custom: {
    50: '#afb4e8',
    500: '#8a96de',
    950: '#000000',
  },
}
SCSS
$custom: #8a96de;
$custom-light: #afb4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96de",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 231.429,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.10677,
    "h": 276
  },
  "luminance": 0.3249
}

Semantic roles & 50–950 ramp

primary
#8A96DE
secondary
#EDEAD6
accent
#AC22C4
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96DE

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

Preview Lab → · Contrast checker → · Palette generator →

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