#8A96EB#8A96EB

#8A96EB is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.9% C 0.125 H 276.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8A96EB
RGBrgb(138, 150, 235)
HSLhsl(233, 71%, 73%)
HSVhsv(233, 41%, 92%)
CMYKcmyk(41.3%, 36.2%, 0%, 7.8%)
CIE-LABlab(64.33, 16.77, -44.25)
CIE-LCHlch(64.33, 47.32, 290.75°)
OKLaboklab(69.88% 0.0143 -0.1243)
OKLCHoklch(69.88% 0.125 276.5)
XYZxyz(36.3785, 33.2124, 83.0750)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96EB #EBDF8A
analogous
#8AC6EB #8A96EB #AE8AEB
triadic
#8A96EB #EB8A96 #96EB8A
tetradic
#8A96EB #EB8AC6 #EBDF8A #8AEBAE
square
#8A96EB #EB8AC6 #EBDF8A #8AEBAE
split-complementary
#8A96EB #EBAE8A #C6EB8A
monochromatic
#253BD6 #5667E2 #8A96EB #BEC5F4 #E5E8FB

Accessibility & contrast

On white

2.75
#8A96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8A96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96EB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96EB#FFFFFF#000000##000000
##8A96EB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#6BA7B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a96eb;
/* rgb */ color: rgb(138, 150, 235);
/* oklch */ color: oklch(69.9% 0.125 276.5);
Tailwind
colors: {
  custom: {
    50: '#b0b4f2',
    500: '#8a96eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a96eb;
$custom-light: #b0b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96eb",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 232.577,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69875,
    "c": 0.12515,
    "h": 276.5
  },
  "luminance": 0.33214
}

Semantic roles & 50–950 ramp

primary
#8A96EB
secondary
#F2EFD9
accent
#BB13D3
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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