#8A96F7#8A96F7

#8A96F7 is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.5% C 0.142 H 276.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8A96F7
RGBrgb(138, 150, 247)
HSLhsl(233, 87%, 75%)
HSVhsv(233, 44%, 97%)
CMYKcmyk(44.1%, 39.3%, 0%, 3.1%)
CIE-LABlab(64.91, 20.16, -49.94)
CIE-LCHlch(64.91, 53.85, 291.98°)
OKLaboklab(70.5% 0.0167 -0.1409)
OKLCHoklch(70.5% 0.142 276.8)
XYZxyz(38.1710, 33.9294, 92.5154)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F7 #F7EB8A
analogous
#8ACDF7 #8A96F7 #B48AF7
triadic
#8A96F7 #F78A96 #96F78A
tetradic
#8A96F7 #F78ACD #F7EB8A #8AF7B4
square
#8A96F7 #F78ACD #F7EB8A #8AF7B4
split-complementary
#8A96F7 #F7B48A #CDF78A
monochromatic
#172FEF #5163F3 #8A96F7 #C3C9FB #E2E5FD

Accessibility & contrast

On white

2.70
#8A96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#8A96F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F7#FFFFFF#000000##000000
##8A96F71.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#65AABB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a96f7;
/* rgb */ color: rgb(138, 150, 247);
/* oklch */ color: oklch(70.5% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4fa',
    500: '#8a96f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f7;
$custom-light: #b1b4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f7",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 233.394,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.14188,
    "h": 276.8
  },
  "luminance": 0.33931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96F7

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

Preview Lab → · Contrast checker → · Palette generator →

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