#8977EA#8977EA

#8977EA is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.9% C 0.167 H 287.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8977EA
RGBrgb(137, 119, 234)
HSLhsl(249, 73%, 69%)
HSVhsv(249, 49%, 92%)
CMYKcmyk(41.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(56.54, 34.31, -56.06)
CIE-LCHlch(56.54, 65.72, 301.46°)
OKLaboklab(63.92% 0.0514 -0.159)
OKLCHoklch(63.92% 0.167 287.9)
XYZxyz(31.7605, 24.4514, 80.8721)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977EA #D8EA77
analogous
#779FEA #8977EA #C277EA
triadic
#8977EA #EA8977 #77EA89
tetradic
#8977EA #EA779F #D8EA77 #77EAC2
square
#8977EA #EA779F #D8EA77 #77EAC2
split-complementary
#8977EA #EAC277 #9FEA77
monochromatic
#391FC8 #5B42E2 #8977EA #B7ACF2 #E5E1FA

Accessibility & contrast

On white

3.57
#8977EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8977EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977EA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977EA#FFFFFF#000000##000000
##8977EA1.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)
#478AEE
Deuteranopia (green-blind)
#4785E7
Tritanopia (blue-blind)
#6D8FA5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8977ea;
/* rgb */ color: rgb(137, 119, 234);
/* oklch */ color: oklch(63.9% 0.167 287.9);
Tailwind
colors: {
  custom: {
    50: '#b09ef1',
    500: '#8977ea',
    950: '#000000',
  },
}
SCSS
$custom: #8977ea;
$custom-light: #b09ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8977ea",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 249.391,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.16705,
    "h": 287.9
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#8977EA
secondary
#EAEFCE
accent
#D510B6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8977EA

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

Preview Lab → · Contrast checker → · Palette generator →

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