#8978FC#8978FC

#8978FC is a light, vivid blue. Relative luminance 0.258; OKLCH L 65.2% C 0.189 H 285.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8978FC
RGBrgb(137, 120, 252)
HSLhsl(248, 96%, 73%)
HSVhsv(248, 52%, 99%)
CMYKcmyk(45.6%, 52.4%, 0%, 1.2%)
CIE-LABlab(57.83, 38.79, -63.98)
CIE-LCHlch(57.83, 74.82, 301.23°)
OKLaboklab(65.22% 0.0514 -0.1822)
OKLCHoklch(65.22% 0.189 285.8)
XYZxyz(34.5986, 25.7781, 95.2292)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978FC #EBFC78
analogous
#78A9FC #8978FC #CB78FC
triadic
#8978FC #FC8978 #78FC89
tetradic
#8978FC #FC78A9 #EBFC78 #78FCCB
square
#8978FC #FC78A9 #EBFC78 #78FCCB
split-complementary
#8978FC #FCCB78 #A9FC78
monochromatic
#2405F4 #553CFB #8978FC #BDB4FD #E5E1FE

Accessibility & contrast

On white

3.41
#8978FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8978FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978FC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978FC#FFFFFF#000000##000000
##8978FC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#3287F9
Tritanopia (blue-blind)
#6395AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8978fc;
/* rgb */ color: rgb(137, 120, 252);
/* oklch */ color: oklch(65.2% 0.189 285.8);
Tailwind
colors: {
  custom: {
    50: '#b29ffe',
    500: '#8978fc',
    950: '#000000',
  },
}
SCSS
$custom: #8978fc;
$custom-light: #b29ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#8978fc",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 247.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.18933,
    "h": 285.8
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8978FC

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

Preview Lab → · Contrast checker → · Palette generator →

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