#8978EF#8978EF

#8978EF is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.4% C 0.172 H 287.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8978EF
RGBrgb(137, 120, 239)
HSLhsl(249, 79%, 70%)
HSVhsv(249, 50%, 94%)
CMYKcmyk(42.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(57.06, 35.12, -58.01)
CIE-LCHlch(57.06, 67.81, 301.19°)
OKLaboklab(64.4% 0.0506 -0.1647)
OKLCHoklch(64.4% 0.172 287.1)
XYZxyz(32.6086, 24.9821, 84.7485)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978EF #DEEF78
analogous
#78A3EF #8978EF #C478EF
triadic
#8978EF #EF8978 #78EF89
tetradic
#8978EF #EF78A3 #DEEF78 #78EFC4
square
#8978EF #EF78A3 #DEEF78 #78EFC4
split-complementary
#8978EF #EFC478 #A3EF78
monochromatic
#3419D4 #5941E9 #8978EF #B9AFF5 #E7E4FC

Accessibility & contrast

On white

3.50
#8978EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8978EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978EF#FFFFFF#000000##000000
##8978EF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#458CF3
Deuteranopia (green-blind)
#4386EC
Tritanopia (blue-blind)
#6A91A8
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8978ef;
/* rgb */ color: rgb(137, 120, 239);
/* oklch */ color: oklch(64.4% 0.172 287.1);
Tailwind
colors: {
  custom: {
    50: '#b19ff5',
    500: '#8978ef',
    950: '#000000',
  },
}
SCSS
$custom: #8978ef;
$custom-light: #b19ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8978ef",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 248.571,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64398,
    "c": 0.17228,
    "h": 287.1
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

primary
#8978EF
secondary
#EDF2D1
accent
#DB0ABD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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