#8978EA#8978EA

#8978EA is a light, vivid blue. Relative luminance 0.247; OKLCH L 64.1% C 0.166 H 287.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8978EA
RGBrgb(137, 120, 234)
HSLhsl(249, 73%, 69%)
HSVhsv(249, 49%, 92%)
CMYKcmyk(41.5%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.77, 33.72, -55.68)
CIE-LCHlch(56.77, 65.10, 301.20°)
OKLaboklab(64.09% 0.0502 -0.1578)
OKLCHoklch(64.09% 0.166 287.6)
XYZxyz(31.8801, 24.6907, 80.9120)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978EA #D9EA78
analogous
#78A0EA #8978EA #C278EA
triadic
#8978EA #EA8978 #78EA89
tetradic
#8978EA #EA78A0 #D9EA78 #78EAC2
square
#8978EA #EA78A0 #D9EA78 #78EAC2
split-complementary
#8978EA #EAC278 #A0EA78
monochromatic
#381FC8 #5B43E2 #8978EA #B7ADF2 #E6E2FA

Accessibility & contrast

On white

3.54
#8978EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8978EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978EA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978EA#FFFFFF#000000##000000
##8978EA1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#6D8FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8978ea;
/* rgb */ color: rgb(137, 120, 234);
/* oklch */ color: oklch(64.1% 0.166 287.6);
Tailwind
colors: {
  custom: {
    50: '#b09ff1',
    500: '#8978ea',
    950: '#000000',
  },
}
SCSS
$custom: #8978ea;
$custom-light: #b09ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8978ea",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 248.947,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64093,
    "c": 0.16563,
    "h": 287.6
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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