#8A96F2#8A96F2

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

Color values

HEX#8A96F2
RGBrgb(138, 150, 242)
HSLhsl(233, 80%, 75%)
HSVhsv(233, 43%, 95%)
CMYKcmyk(43%, 38%, 0%, 5.1%)
CIE-LABlab(64.66, 18.74, -47.58)
CIE-LCHlch(64.66, 51.13, 291.50°)
OKLaboklab(70.24% 0.0158 -0.134)
OKLCHoklch(70.24% 0.135 276.7)
XYZxyz(37.4097, 33.6249, 88.5063)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96F2 #F2E68A
analogous
#8ACAF2 #8A96F2 #B28AF2
triadic
#8A96F2 #F28A96 #96F28A
tetradic
#8A96F2 #F28ACA #F2E68A #8AF2B2
square
#8A96F2 #F28ACA #F2E68A #8AF2B2
split-complementary
#8A96F2 #F2B28A #CAF28A
monochromatic
#1C33E6 #5365EC #8A96F2 #C1C7F8 #E3E6FC

Accessibility & contrast

On white

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

On black

7.73
#8A96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96F2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96F2#FFFFFF#000000##000000
##8A96F21.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#67A9B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a96f2;
/* rgb */ color: rgb(138, 150, 242);
/* oklch */ color: oklch(70.2% 0.135 276.7);
Tailwind
colors: {
  custom: {
    50: '#b0b4f7',
    500: '#8a96f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a96f2;
$custom-light: #b0b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96f2",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 233.077,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70238,
    "c": 0.13493,
    "h": 276.7
  },
  "luminance": 0.33627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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