#8977EC#8977EC

#8977EC is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.0% C 0.170 H 287.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8977EC
RGBrgb(137, 119, 236)
HSLhsl(249, 75%, 70%)
HSVhsv(249, 50%, 93%)
CMYKcmyk(41.9%, 49.6%, 0%, 7.5%)
CIE-LABlab(56.65, 34.86, -56.99)
CIE-LCHlch(56.65, 66.81, 301.45°)
OKLaboklab(64.04% 0.0515 -0.1617)
OKLCHoklch(64.04% 0.17 287.7)
XYZxyz(32.0494, 24.5670, 82.3939)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977EC #DAEC77
analogous
#77A0EC #8977EC #C477EC
triadic
#8977EC #EC8977 #77EC89
tetradic
#8977EC #EC77A0 #DAEC77 #77ECC4
square
#8977EC #EC77A0 #DAEC77 #77ECC4
split-complementary
#8977EC #ECC477 #A0EC77
monochromatic
#381DCC #5A41E4 #8977EC #B8ADF4 #E6E2FB

Accessibility & contrast

On white

3.55
#8977EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8977EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977EC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977EC#FFFFFF#000000##000000
##8977EC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468BF0
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#6C8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8977ec;
/* rgb */ color: rgb(137, 119, 236);
/* oklch */ color: oklch(64.0% 0.170 287.7);
Tailwind
colors: {
  custom: {
    50: '#b09ef3',
    500: '#8977ec',
    950: '#000000',
  },
}
SCSS
$custom: #8977ec;
$custom-light: #b09ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#8977ec",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 249.231,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64038,
    "c": 0.16972,
    "h": 287.7
  },
  "luminance": 0.24568
}

Semantic roles & 50–950 ramp

primary
#8977EC
secondary
#EBF0CF
accent
#D80EB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8977EC

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

Preview Lab → · Contrast checker → · Palette generator →

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