#8978FE#8978FE

#8978FE is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.3% C 0.192 H 285.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8978FE
RGBrgb(137, 120, 254)
HSLhsl(248, 99%, 73%)
HSVhsv(248, 53%, 100%)
CMYKcmyk(46.1%, 52.8%, 0%, 0.4%)
CIE-LABlab(57.95, 39.36, -64.89)
CIE-LCHlch(57.95, 75.89, 301.24°)
OKLaboklab(65.35% 0.0515 -0.1849)
OKLCHoklch(65.35% 0.192 285.6)
XYZxyz(34.9172, 25.9055, 96.9072)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978FE #EDFE78
analogous
#78AAFE #8978FE #CC78FE
triadic
#8978FE #FE8978 #78FE89
tetradic
#8978FE #FE78AA #EDFE78 #78FECC
square
#8978FE #FE78AA #EDFE78 #78FECC
split-complementary
#8978FE #FECC78 #AAFE78
monochromatic
#2102FA #543BFE #8978FE #BEB5FE #E4E1FF

Accessibility & contrast

On white

3.40
#8978FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8978FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978FE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978FE#FFFFFF#000000##000000
##8978FE1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#2E87FB
Tritanopia (blue-blind)
#6295B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8978fe;
/* rgb */ color: rgb(137, 120, 254);
/* oklch */ color: oklch(65.3% 0.192 285.6);
Tailwind
colors: {
  custom: {
    50: '#b29fff',
    500: '#8978fe',
    950: '#000000',
  },
}
SCSS
$custom: #8978fe;
$custom-light: #b29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8978fe",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 247.612,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.19192,
    "h": 285.6
  },
  "luminance": 0.25907
}

Semantic roles & 50–950 ramp

primary
#8978FE
secondary
#F3F7D4
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8978FE

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

Preview Lab → · Contrast checker → · Palette generator →

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