#8A96E4#8A96E4

#8A96E4 is a light, moderate blue. Relative luminance 0.328; OKLCH L 69.5% C 0.115 H 276.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8A96E4
RGBrgb(138, 150, 228)
HSLhsl(232, 63%, 72%)
HSVhsv(232, 39%, 89%)
CMYKcmyk(39.5%, 34.2%, 0%, 10.6%)
CIE-LABlab(64.01, 14.82, -40.89)
CIE-LCHlch(64.01, 43.49, 289.92°)
OKLaboklab(69.52% 0.0127 -0.1146)
OKLCHoklch(69.52% 0.115 276.3)
XYZxyz(35.3870, 32.8159, 77.8533)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96E4 #E4D88A
analogous
#8AC3E4 #8A96E4 #AB8AE4
triadic
#8A96E4 #E48A96 #96E48A
tetradic
#8A96E4 #E48AC3 #E4D88A #8AE4AB
square
#8A96E4 #E48AC3 #E4D88A #8AE4AB
split-complementary
#8A96E4 #E4AB8A #C3E48A
monochromatic
#2E42C6 #5869D9 #8A96E4 #BCC3EF #E6E9F9

Accessibility & contrast

On white

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

On black

7.56
#8A96E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96E4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96E4#FFFFFF#000000##000000
##8A96E41.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#7598E2
Tritanopia (blue-blind)
#6EA5B2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a96e4;
/* rgb */ color: rgb(138, 150, 228);
/* oklch */ color: oklch(69.5% 0.115 276.3);
Tailwind
colors: {
  custom: {
    50: '#afb4ed',
    500: '#8a96e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a96e4;
$custom-light: #afb4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96e4",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 232,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69523,
    "c": 0.11528,
    "h": 276.3
  },
  "luminance": 0.32817
}

Semantic roles & 50–950 ramp

primary
#8A96E4
secondary
#F0EDD9
accent
#B31BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A96E4

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

Preview Lab → · Contrast checker → · Palette generator →

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