#8A96EC#8A96EC

#8A96EC is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.9% C 0.127 H 276.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8A96EC
RGBrgb(138, 150, 236)
HSLhsl(233, 72%, 73%)
HSVhsv(233, 42%, 93%)
CMYKcmyk(41.5%, 36.4%, 0%, 7.5%)
CIE-LABlab(64.38, 17.05, -44.73)
CIE-LCHlch(64.38, 47.86, 290.86°)
OKLaboklab(69.93% 0.0145 -0.1257)
OKLCHoklch(69.93% 0.127 276.6)
XYZxyz(36.5234, 33.2704, 83.8380)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96EC #ECE08A
analogous
#8AC7EC #8A96EC #AF8AEC
triadic
#8A96EC #EC8A96 #96EC8A
tetradic
#8A96EC #EC8AC7 #ECE08A #8AECAF
square
#8A96EC #EC8AC7 #ECE08A #8AECAF
split-complementary
#8A96EC #ECAF8A #C7EC8A
monochromatic
#2339D8 #5567E3 #8A96EC #BFC5F5 #E5E7FB

Accessibility & contrast

On white

2.74
#8A96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#8A96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96EC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96EC#FFFFFF#000000##000000
##8A96EC1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#6BA7B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a96ec;
/* rgb */ color: rgb(138, 150, 236);
/* oklch */ color: oklch(69.9% 0.127 276.6);
Tailwind
colors: {
  custom: {
    50: '#b0b4f2',
    500: '#8a96ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a96ec;
$custom-light: #b0b4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96ec",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 232.653,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.12655,
    "h": 276.6
  },
  "luminance": 0.33272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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