#8A96E2#8A96E2

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

Color values

HEX#8A96E2
RGBrgb(138, 150, 226)
HSLhsl(232, 60%, 71%)
HSVhsv(232, 39%, 89%)
CMYKcmyk(38.9%, 33.6%, 0%, 11.4%)
CIE-LABlab(63.92, 14.27, -39.93)
CIE-LCHlch(63.92, 42.40, 289.67°)
OKLaboklab(69.42% 0.0122 -0.1118)
OKLCHoklch(69.42% 0.112 276.2)
XYZxyz(35.1110, 32.7054, 76.3995)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96E2 #E2D68A
analogous
#8AC2E2 #8A96E2 #AA8AE2
triadic
#8A96E2 #E28A96 #96E28A
tetradic
#8A96E2 #E28AC2 #E2D68A #8AE2AA
square
#8A96E2 #E28AC2 #E2D68A #8AE2AA
split-complementary
#8A96E2 #E2AA8A #C2E28A
monochromatic
#3044C2 #596AD6 #8A96E2 #BBC2EE #E6E9F9

Accessibility & contrast

On white

2.78
#8A96E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#8A96E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96E2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96E2#FFFFFF#000000##000000
##8A96E21.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#7698E0
Tritanopia (blue-blind)
#6FA5B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a96e2;
/* rgb */ color: rgb(138, 150, 226);
/* oklch */ color: oklch(69.4% 0.112 276.2);
Tailwind
colors: {
  custom: {
    50: '#afb4eb',
    500: '#8a96e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a96e2;
$custom-light: #afb4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96e2",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 231.818,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.11245,
    "h": 276.2
  },
  "luminance": 0.32707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96E2

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

Preview Lab → · Contrast checker → · Palette generator →

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