#8A96F1#8A96F1

#8A96F1 is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.2% C 0.134 H 276.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A96F1
RGBrgb(138, 150, 241)
HSLhsl(233, 79%, 74%)
HSVhsv(233, 43%, 95%)
CMYKcmyk(42.7%, 37.8%, 0%, 5.5%)
CIE-LABlab(64.62, 18.45, -47.10)
CIE-LCHlch(64.62, 50.59, 291.39°)
OKLaboklab(70.19% 0.0155 -0.1326)
OKLCHoklch(70.19% 0.134 276.7)
XYZxyz(37.2600, 33.5650, 87.7175)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F1 #F1E58A
analogous
#8ACAF1 #8A96F1 #B28AF1
triadic
#8A96F1 #F18A96 #96F18A
tetradic
#8A96F1 #F18ACA #F1E58A #8AF1B2
square
#8A96F1 #F18ACA #F1E58A #8AF1B2
split-complementary
#8A96F1 #F1B28A #CAF18A
monochromatic
#1D34E4 #5365EA #8A96F1 #C1C7F8 #E4E6FC

Accessibility & contrast

On white

2.72
#8A96F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#8A96F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F1#FFFFFF#000000##000000
##8A96F11.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F5
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#68A8B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a96f1;
/* rgb */ color: rgb(138, 150, 241);
/* oklch */ color: oklch(70.2% 0.134 276.7);
Tailwind
colors: {
  custom: {
    50: '#b0b4f6',
    500: '#8a96f1',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f1;
$custom-light: #b0b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f1",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 241
  },
  "hsl": {
    "h": 233.01,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.13354,
    "h": 276.7
  },
  "luminance": 0.33567
}

Semantic roles & 50–950 ramp

primary
#8A96F1
secondary
#F4F0D7
accent
#C30BDB
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A96F1

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

Preview Lab → · Contrast checker → · Palette generator →

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