#8A96F8#8A96F8

#8A96F8 is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.6% C 0.143 H 276.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A96F8
RGBrgb(138, 150, 248)
HSLhsl(233, 89%, 76%)
HSVhsv(233, 44%, 97%)
CMYKcmyk(44.4%, 39.5%, 0%, 2.7%)
CIE-LABlab(64.96, 20.44, -50.41)
CIE-LCHlch(64.96, 54.39, 292.08°)
OKLaboklab(70.56% 0.0169 -0.1423)
OKLCHoklch(70.56% 0.143 276.8)
XYZxyz(38.3257, 33.9913, 93.3303)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F8 #F8EC8A
analogous
#8ACDF8 #8A96F8 #B58AF8
triadic
#8A96F8 #F88A96 #96F88A
tetradic
#8A96F8 #F88ACD #F8EC8A #8AF8B5
square
#8A96F8 #F88ACD #F8EC8A #8AF8B5
split-complementary
#8A96F8 #F8B58A #CDF88A
monochromatic
#172EF1 #5062F5 #8A96F8 #C4CAFB #E2E5FD

Accessibility & contrast

On white

2.69
#8A96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8A96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F8#FFFFFF#000000##000000
##8A96F81.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FC
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#64AABB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a96f8;
/* rgb */ color: rgb(138, 150, 248);
/* oklch */ color: oklch(70.6% 0.143 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fb',
    500: '#8a96f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f8;
$custom-light: #b1b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f8",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 233.455,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.14326,
    "h": 276.8
  },
  "luminance": 0.33993
}

Semantic roles & 50–950 ramp

primary
#8A96F8
secondary
#F5F2D6
accent
#CC00E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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