#8A96E1#8A96E1

#8A96E1 is a light, moderate blue. Relative luminance 0.327; OKLCH L 69.4% C 0.111 H 276.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A96E1
RGBrgb(138, 150, 225)
HSLhsl(232, 59%, 71%)
HSVhsv(232, 39%, 88%)
CMYKcmyk(38.7%, 33.3%, 0%, 11.8%)
CIE-LABlab(63.88, 14.00, -39.44)
CIE-LCHlch(63.88, 41.85, 289.54°)
OKLaboklab(69.38% 0.0119 -0.1104)
OKLCHoklch(69.38% 0.111 276.2)
XYZxyz(34.9742, 32.6507, 75.6790)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96E1 #E1D58A
analogous
#8AC1E1 #8A96E1 #A98AE1
triadic
#8A96E1 #E18A96 #96E18A
tetradic
#8A96E1 #E18AC1 #E1D58A #8AE1A9
square
#8A96E1 #E18AC1 #E1D58A #8AE1A9
split-complementary
#8A96E1 #E1A98A #C1E18A
monochromatic
#3145BF #596AD5 #8A96E1 #BBC2ED #E7E9F9

Accessibility & contrast

On white

2.79
#8A96E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#8A96E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96E1
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96E1#FFFFFF#000000##000000
##8A96E11.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE4
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#70A5B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a96e1;
/* rgb */ color: rgb(138, 150, 225);
/* oklch */ color: oklch(69.4% 0.111 276.2);
Tailwind
colors: {
  custom: {
    50: '#afb4ea',
    500: '#8a96e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a96e1;
$custom-light: #afb4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96e1",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 225
  },
  "hsl": {
    "h": 231.724,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69375,
    "c": 0.11103,
    "h": 276.2
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#8A96E1
secondary
#EFECD8
accent
#B01FC7
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96E1

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

Preview Lab → · Contrast checker → · Palette generator →

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