#8977EB#8977EB

#8977EB is a light, vivid blue. Relative luminance 0.245; OKLCH L 64.0% C 0.168 H 287.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8977EB
RGBrgb(137, 119, 235)
HSLhsl(249, 74%, 69%)
HSVhsv(249, 49%, 92%)
CMYKcmyk(41.7%, 49.4%, 0%, 7.8%)
CIE-LABlab(56.59, 34.58, -56.53)
CIE-LCHlch(56.59, 66.27, 301.46°)
OKLaboklab(63.98% 0.0515 -0.1603)
OKLCHoklch(63.98% 0.168 287.8)
XYZxyz(31.9045, 24.5090, 81.6308)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977EB #D9EB77
analogous
#779FEB #8977EB #C377EB
triadic
#8977EB #EB8977 #77EB89
tetradic
#8977EB #EB779F #D9EB77 #77EBC3
square
#8977EB #EB779F #D9EB77 #77EBC3
split-complementary
#8977EB #EBC377 #9FEB77
monochromatic
#381ECA #5B42E3 #8977EB #B7ACF3 #E6E2FB

Accessibility & contrast

On white

3.56
#8977EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8977EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977EB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977EB#FFFFFF#000000##000000
##8977EB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#4685E8
Tritanopia (blue-blind)
#6C8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8977eb;
/* rgb */ color: rgb(137, 119, 235);
/* oklch */ color: oklch(64.0% 0.168 287.8);
Tailwind
colors: {
  custom: {
    50: '#b09ef2',
    500: '#8977eb',
    950: '#000000',
  },
}
SCSS
$custom: #8977eb;
$custom-light: #b09ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8977eb",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 249.31,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63977,
    "c": 0.16839,
    "h": 287.8
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#8977EB
secondary
#EAF0CE
accent
#D60FB8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8977EB

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

Preview Lab → · Contrast checker → · Palette generator →

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