#8976EB#8976EB

#8976EB is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.8% C 0.170 H 288.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8976EB
RGBrgb(137, 118, 235)
HSLhsl(250, 75%, 69%)
HSVhsv(250, 50%, 92%)
CMYKcmyk(41.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(56.36, 35.16, -56.90)
CIE-LCHlch(56.36, 66.89, 301.72°)
OKLaboklab(63.8% 0.0527 -0.1614)
OKLCHoklch(63.8% 0.17 288.1)
XYZxyz(31.7861, 24.2723, 81.5914)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976EB #D8EB76
analogous
#769EEB #8976EB #C476EB
triadic
#8976EB #EB8976 #76EB89
tetradic
#8976EB #EB769E #D8EB76 #76EBC4
square
#8976EB #EB769E #D8EB76 #76EBC4
split-complementary
#8976EB #EBC476 #9EEB76
monochromatic
#391DC9 #5B41E3 #8976EB #B7ABF3 #E5E1FB

Accessibility & contrast

On white

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

On black

5.85
#8976EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976EB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976EB#FFFFFF#000000##000000
##8976EB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#6D8EA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8976eb;
/* rgb */ color: rgb(137, 118, 235);
/* oklch */ color: oklch(63.8% 0.170 288.1);
Tailwind
colors: {
  custom: {
    50: '#b09ef2',
    500: '#8976eb',
    950: '#000000',
  },
}
SCSS
$custom: #8976eb;
$custom-light: #b09ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8976eb",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 249.744,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63801,
    "c": 0.1698,
    "h": 288.1
  },
  "luminance": 0.24273
}

Semantic roles & 50–950 ramp

primary
#8976EB
secondary
#EAEFCD
accent
#D70FB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976EB

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

Preview Lab → · Contrast checker → · Palette generator →

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