#8A96FB#8A96FB

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

Color values

HEX#8A96FB
RGBrgb(138, 150, 251)
HSLhsl(234, 93%, 76%)
HSVhsv(234, 45%, 98%)
CMYKcmyk(45%, 40.2%, 0%, 1.6%)
CIE-LABlab(65.10, 21.30, -51.81)
CIE-LCHlch(65.10, 56.02, 292.35°)
OKLaboklab(70.72% 0.0175 -0.1464)
OKLCHoklch(70.72% 0.147 276.8)
XYZxyz(38.7948, 34.1790, 95.8011)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96FB #FBEF8A
analogous
#8ACFFB #8A96FB #B78AFB
triadic
#8A96FB #FB8A96 #96FB8A
tetradic
#8A96FB #FB8ACF #FBEF8A #8AFBB7
square
#8A96FB #FB8ACF #FBEF8A #8AFBB7
split-complementary
#8A96FB #FBB78A #CFFB8A
monochromatic
#142CF7 #4F61F9 #8A96FB #C5CBFD #E1E4FE

Accessibility & contrast

On white

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

On black

7.84
#8A96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96FB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96FB#FFFFFF#000000##000000
##8A96FB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#62ABBC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a96fb;
/* rgb */ color: rgb(138, 150, 251);
/* oklch */ color: oklch(70.7% 0.147 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fd',
    500: '#8a96fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a96fb;
$custom-light: #b1b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96fb",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 233.628,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7072,
    "c": 0.1474,
    "h": 276.8
  },
  "luminance": 0.34181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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