#8A96FE#8A96FE

#8A96FE is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.9% C 0.152 H 276.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A96FE
RGBrgb(138, 150, 254)
HSLhsl(234, 98%, 77%)
HSVhsv(234, 46%, 100%)
CMYKcmyk(45.7%, 40.9%, 0%, 0.4%)
CIE-LABlab(65.25, 22.17, -53.21)
CIE-LCHlch(65.25, 57.64, 292.62°)
OKLaboklab(70.88% 0.018 -0.1504)
OKLCHoklch(70.88% 0.152 276.8)
XYZxyz(39.2715, 34.3696, 98.3114)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96FE #FEF28A
analogous
#8AD0FE #8A96FE #B88AFE
triadic
#8A96FE #FE8A96 #96FE8A
tetradic
#8A96FE #FE8AD0 #FEF28A #8AFEB8
square
#8A96FE #FE8AD0 #FEF28A #8AFEB8
split-complementary
#8A96FE #FEB88A #D0FE8A
monochromatic
#1129FD #4D60FD #8A96FE #C7CCFF #E1E4FF

Accessibility & contrast

On white

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

On black

7.87
#8A96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96FE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96FE#FFFFFF#000000##000000
##8A96FE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#659AFC
Tritanopia (blue-blind)
#61ACBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a96fe;
/* rgb */ color: rgb(138, 150, 254);
/* oklch */ color: oklch(70.9% 0.152 276.8);
Tailwind
colors: {
  custom: {
    50: '#b1b4ff',
    500: '#8a96fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a96fe;
$custom-light: #b1b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96fe",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 233.793,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.15153,
    "h": 276.8
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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