#8A96F5#8A96F5

#8A96F5 is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.4% C 0.139 H 276.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A96F5
RGBrgb(138, 150, 245)
HSLhsl(233, 84%, 75%)
HSVhsv(233, 44%, 96%)
CMYKcmyk(43.7%, 38.8%, 0%, 3.9%)
CIE-LABlab(64.81, 19.59, -48.99)
CIE-LCHlch(64.81, 52.76, 291.79°)
OKLaboklab(70.4% 0.0164 -0.1381)
OKLCHoklch(70.4% 0.139 276.8)
XYZxyz(37.8640, 33.8067, 90.8987)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F5 #F5E98A
analogous
#8ACBF5 #8A96F5 #B38AF5
triadic
#8A96F5 #F58A96 #96F58A
tetradic
#8A96F5 #F58ACB #F5E98A #8AF5B3
square
#8A96F5 #F58ACB #F5E98A #8AF5B3
split-complementary
#8A96F5 #F5B38A #CBF58A
monochromatic
#1931EB #5263F0 #8A96F5 #C2C9FA #E3E6FD

Accessibility & contrast

On white

2.71
#8A96F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#8A96F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F5
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F5#FFFFFF#000000##000000
##8A96F51.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A2F9
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#66A9BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a96f5;
/* rgb */ color: rgb(138, 150, 245);
/* oklch */ color: oklch(70.4% 0.139 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4f9',
    500: '#8a96f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f5;
$custom-light: #b1b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f5",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 233.271,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.1391,
    "h": 276.8
  },
  "luminance": 0.33809
}

Semantic roles & 50–950 ramp

primary
#8A96F5
secondary
#F5F1D6
accent
#C805E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A96F5

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

Preview Lab → · Contrast checker → · Palette generator →

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