#8976EA#8976EA

#8976EA is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.7% C 0.168 H 288.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8976EA
RGBrgb(137, 118, 234)
HSLhsl(250, 73%, 69%)
HSVhsv(250, 50%, 92%)
CMYKcmyk(41.5%, 49.6%, 0%, 8.2%)
CIE-LABlab(56.30, 34.89, -56.44)
CIE-LCHlch(56.30, 66.35, 301.72°)
OKLaboklab(63.74% 0.0526 -0.1601)
OKLCHoklch(63.74% 0.168 288.2)
XYZxyz(31.6421, 24.2146, 80.8327)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976EA #D7EA76
analogous
#769DEA #8976EA #C376EA
triadic
#8976EA #EA8976 #76EA89
tetradic
#8976EA #EA769D #D7EA76 #76EAC3
square
#8976EA #EA769D #D7EA76 #76EAC3
split-complementary
#8976EA #EAC376 #9DEA76
monochromatic
#3A1FC7 #5B41E2 #8976EA #B7ABF2 #E4E0FA

Accessibility & contrast

On white

3.59
#8976EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8976EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976EA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976EA#FFFFFF#000000##000000
##8976EA1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#6D8EA5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8976ea;
/* rgb */ color: rgb(137, 118, 234);
/* oklch */ color: oklch(63.7% 0.168 288.2);
Tailwind
colors: {
  custom: {
    50: '#b09ef1',
    500: '#8976ea',
    950: '#000000',
  },
}
SCSS
$custom: #8976ea;
$custom-light: #b09ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8976ea",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 249.828,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6374,
    "c": 0.16848,
    "h": 288.2
  },
  "luminance": 0.24216
}

Semantic roles & 50–950 ramp

primary
#8976EA
secondary
#E9EFCD
accent
#D610B5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8976EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva