#8A96EF#8A96EF

#8A96EF is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.1% C 0.131 H 276.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A96EF
RGBrgb(138, 150, 239)
HSLhsl(233, 76%, 74%)
HSVhsv(233, 42%, 94%)
CMYKcmyk(42.3%, 37.2%, 0%, 6.3%)
CIE-LABlab(64.52, 17.89, -46.16)
CIE-LCHlch(64.52, 49.50, 291.19°)
OKLaboklab(70.08% 0.0151 -0.1299)
OKLCHoklch(70.08% 0.131 276.6)
XYZxyz(36.9629, 33.4462, 86.1528)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96EF #EFE38A
analogous
#8AC9EF #8A96EF #B18AEF
triadic
#8A96EF #EF8A96 #96EF8A
tetradic
#8A96EF #EF8AC9 #EFE38A #8AEFB1
square
#8A96EF #EF8AC9 #EFE38A #8AEFB1
split-complementary
#8A96EF #EFB18A #C9EF8A
monochromatic
#1F36E0 #5466E8 #8A96EF #C0C6F6 #E4E7FB

Accessibility & contrast

On white

2.73
#8A96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#8A96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96EF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96EF#FFFFFF#000000##000000
##8A96EF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#6F99ED
Tritanopia (blue-blind)
#69A8B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a96ef;
/* rgb */ color: rgb(138, 150, 239);
/* oklch */ color: oklch(70.1% 0.131 276.6);
Tailwind
colors: {
  custom: {
    50: '#b0b4f4',
    500: '#8a96ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a96ef;
$custom-light: #b0b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96ef",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 232.871,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.13075,
    "h": 276.6
  },
  "luminance": 0.33448
}

Semantic roles & 50–950 ramp

primary
#8A96EF
secondary
#F3F0D8
accent
#C00DD8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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