#8A96FC#8A96FC

#8A96FC is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.8% C 0.149 H 276.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A96FC
RGBrgb(138, 150, 252)
HSLhsl(234, 95%, 76%)
HSVhsv(234, 45%, 99%)
CMYKcmyk(45.2%, 40.5%, 0%, 1.2%)
CIE-LABlab(65.15, 21.59, -52.28)
CIE-LCHlch(65.15, 56.56, 292.44°)
OKLaboklab(70.77% 0.0177 -0.1477)
OKLCHoklch(70.77% 0.149 276.8)
XYZxyz(38.9529, 34.2422, 96.6335)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96FC #FCF08A
analogous
#8ACFFC #8A96FC #B78AFC
triadic
#8A96FC #FC8A96 #96FC8A
tetradic
#8A96FC #FC8ACF #FCF08A #8AFCB7
square
#8A96FC #FC8ACF #FCF08A #8AFCB7
split-complementary
#8A96FC #FCB78A #CFFC8A
monochromatic
#132BF9 #4E60FA #8A96FC #C6CCFE #E1E4FE

Accessibility & contrast

On white

2.68
#8A96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8A96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96FC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96FC#FFFFFF#000000##000000
##8A96FC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#62ABBD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a96fc;
/* rgb */ color: rgb(138, 150, 252);
/* oklch */ color: oklch(70.8% 0.149 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fe',
    500: '#8a96fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a96fc;
$custom-light: #b1b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96fc",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 233.684,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.14878,
    "h": 276.8
  },
  "luminance": 0.34244
}

Semantic roles & 50–950 ramp

primary
#8A96FC
secondary
#F6F3D5
accent
#CD00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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