#8976EE#8976EE

#8976EE is a light, vivid blue. Relative luminance 0.244; OKLCH L 64.0% C 0.174 H 287.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8976EE
RGBrgb(137, 118, 238)
HSLhsl(250, 78%, 70%)
HSVhsv(250, 50%, 93%)
CMYKcmyk(42.4%, 50.4%, 0%, 6.7%)
CIE-LABlab(56.53, 36.00, -58.30)
CIE-LCHlch(56.53, 68.52, 301.70°)
OKLaboklab(63.99% 0.0529 -0.1655)
OKLCHoklch(63.99% 0.174 287.7)
XYZxyz(32.2232, 24.4471, 83.8933)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976EE #DBEE76
analogous
#769FEE #8976EE #C576EE
triadic
#8976EE #EE8976 #76EE89
tetradic
#8976EE #EE769F #DBEE76 #76EEC5
square
#8976EE #EE769F #DBEE76 #76EEC5
split-complementary
#8976EE #EEC576 #9FEE76
monochromatic
#371AD0 #5A40E7 #8976EE #B8ACF5 #E7E3FC

Accessibility & contrast

On white

3.57
#8976EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8976EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976EE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976EE#FFFFFF#000000##000000
##8976EE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#4184EB
Tritanopia (blue-blind)
#6B8FA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8976ee;
/* rgb */ color: rgb(137, 118, 238);
/* oklch */ color: oklch(64.0% 0.174 287.7);
Tailwind
colors: {
  custom: {
    50: '#b19ef4',
    500: '#8976ee',
    950: '#000000',
  },
}
SCSS
$custom: #8976ee;
$custom-light: #b19ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8976ee",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 249.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63987,
    "c": 0.17377,
    "h": 287.7
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

primary
#8976EE
secondary
#EBF1CF
accent
#DA0BB9
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8976EE

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

Preview Lab → · Contrast checker → · Palette generator →

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