#8A96DC#8A96DC

#8A96DC is a light, moderate blue. Relative luminance 0.324; OKLCH L 69.1% C 0.104 H 275.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8A96DC
RGBrgb(138, 150, 220)
HSLhsl(231, 54%, 70%)
HSVhsv(231, 37%, 86%)
CMYKcmyk(37.3%, 31.8%, 0%, 13.7%)
CIE-LABlab(63.66, 12.63, -37.01)
CIE-LCHlch(63.66, 39.11, 288.85°)
OKLaboklab(69.13% 0.0107 -0.1034)
OKLCHoklch(69.13% 0.104 275.9)
XYZxyz(34.3021, 32.3819, 72.1392)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96DC #DCD08A
analogous
#8ABFDC #8A96DC #A78ADC
triadic
#8A96DC #DC8A96 #96DC8A
tetradic
#8A96DC #DC8ABF #DCD08A #8ADCA7
square
#8A96DC #DC8ABF #DCD08A #8ADCA7
split-complementary
#8A96DC #DCA78A #BFDC8A
monochromatic
#3649B5 #5B6CCE #8A96DC #B9C0EA #E7EAF8

Accessibility & contrast

On white

2.81
#8A96DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#8A96DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96DC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96DC#FFFFFF#000000##000000
##8A96DC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EDF
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#72A4AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a96dc;
/* rgb */ color: rgb(138, 150, 220);
/* oklch */ color: oklch(69.1% 0.104 275.9);
Tailwind
colors: {
  custom: {
    50: '#afb4e7',
    500: '#8a96dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a96dc;
$custom-light: #afb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96dc",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 231.22,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69133,
    "c": 0.10392,
    "h": 275.9
  },
  "luminance": 0.32383
}

Semantic roles & 50–950 ramp

primary
#8A96DC
secondary
#ECE9D6
accent
#AA24C1
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96DC

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

Preview Lab → · Contrast checker → · Palette generator →

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