#8A96FD#8A96FD

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

Color values

HEX#8A96FD
RGBrgb(138, 150, 253)
HSLhsl(234, 97%, 77%)
HSVhsv(234, 45%, 99%)
CMYKcmyk(45.5%, 40.7%, 0%, 0.8%)
CIE-LABlab(65.20, 21.88, -52.74)
CIE-LCHlch(65.20, 57.10, 292.53°)
OKLaboklab(70.83% 0.0178 -0.1491)
OKLCHoklch(70.83% 0.15 276.8)
XYZxyz(39.1118, 34.3058, 97.4703)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96FD #FDF18A
analogous
#8AD0FD #8A96FD #B88AFD
triadic
#8A96FD #FD8A96 #96FD8A
tetradic
#8A96FD #FD8AD0 #FDF18A #8AFDB8
square
#8A96FD #FD8AD0 #FDF18A #8AFDB8
split-complementary
#8A96FD #FDB88A #D0FD8A
monochromatic
#122AFB #4E60FC #8A96FD #C6CCFE #E1E4FE

Accessibility & contrast

On white

2.67
#8A96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8A96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96FD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96FD#FFFFFF#000000##000000
##8A96FD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a96fd;
/* rgb */ color: rgb(138, 150, 253);
/* oklch */ color: oklch(70.8% 0.150 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fe',
    500: '#8a96fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a96fd;
$custom-light: #b1b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96fd",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 233.739,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.15015,
    "h": 276.8
  },
  "luminance": 0.34308
}

Semantic roles & 50–950 ramp

primary
#8A96FD
secondary
#F7F3D4
accent
#CE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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