#8A96F9#8A96F9

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

Color values

HEX#8A96F9
RGBrgb(138, 150, 249)
HSLhsl(234, 90%, 76%)
HSVhsv(234, 45%, 98%)
CMYKcmyk(44.6%, 39.8%, 0%, 2.4%)
CIE-LABlab(65.00, 20.73, -50.87)
CIE-LCHlch(65.00, 54.94, 292.17°)
OKLaboklab(70.61% 0.0171 -0.1436)
OKLCHoklch(70.61% 0.145 276.8)
XYZxyz(38.4812, 34.0535, 94.1495)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F9 #F9ED8A
analogous
#8ACDF9 #8A96F9 #B58AF9
triadic
#8A96F9 #F98A96 #96F98A
tetradic
#8A96F9 #F98ACD #F9ED8A #8AF9B5
square
#8A96F9 #F98ACD #F9ED8A #8AF9B5
split-complementary
#8A96F9 #F9B58A #CDF98A
monochromatic
#162EF3 #5062F6 #8A96F9 #C4CAFC #E2E5FE

Accessibility & contrast

On white

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

On black

7.81
#8A96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F9
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F9#FFFFFF#000000##000000
##8A96F91.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#64AABC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a96f9;
/* rgb */ color: rgb(138, 150, 249);
/* oklch */ color: oklch(70.6% 0.145 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fc',
    500: '#8a96f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f9;
$custom-light: #b1b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f9",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 233.514,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70611,
    "c": 0.14465,
    "h": 276.8
  },
  "luminance": 0.34056
}

Semantic roles & 50–950 ramp

primary
#8A96F9
secondary
#F6F2D5
accent
#CD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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