#8978EE#8978EE

#8978EE is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.3% C 0.171 H 287.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8978EE
RGBrgb(137, 120, 238)
HSLhsl(249, 78%, 70%)
HSVhsv(249, 50%, 93%)
CMYKcmyk(42.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(57.00, 34.84, -57.55)
CIE-LCHlch(57.00, 67.27, 301.19°)
OKLaboklab(64.34% 0.0505 -0.1633)
OKLCHoklch(64.34% 0.171 287.2)
XYZxyz(32.4612, 24.9231, 83.9726)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978EE #DDEE78
analogous
#78A2EE #8978EE #C478EE
triadic
#8978EE #EE8978 #78EE89
tetradic
#8978EE #EE78A2 #DDEE78 #78EEC4
square
#8978EE #EE78A2 #DDEE78 #78EEC4
split-complementary
#8978EE #EEC478 #A2EE78
monochromatic
#351AD1 #5942E7 #8978EE #B9AEF5 #E7E4FC

Accessibility & contrast

On white

3.51
#8978EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8978EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978EE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978EE#FFFFFF#000000##000000
##8978EE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#4486EB
Tritanopia (blue-blind)
#6B91A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8978ee;
/* rgb */ color: rgb(137, 120, 238);
/* oklch */ color: oklch(64.3% 0.171 287.2);
Tailwind
colors: {
  custom: {
    50: '#b09ff4',
    500: '#8978ee',
    950: '#000000',
  },
}
SCSS
$custom: #8978ee;
$custom-light: #b09ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8978ee",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 248.644,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64337,
    "c": 0.17095,
    "h": 287.2
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#8978EE
secondary
#EDF1D1
accent
#DA0CBC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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