#8978F8#8978F8

#8978F8 is a light, vivid blue. Relative luminance 0.255; OKLCH L 65.0% C 0.184 H 286.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8978F8
RGBrgb(137, 120, 248)
HSLhsl(248, 90%, 72%)
HSVhsv(248, 52%, 97%)
CMYKcmyk(44.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(57.59, 37.66, -62.15)
CIE-LCHlch(57.59, 72.67, 301.21°)
OKLaboklab(64.96% 0.0512 -0.1768)
OKLCHoklch(64.96% 0.184 286.1)
XYZxyz(33.9714, 25.5272, 91.9260)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978F8 #E7F878
analogous
#78A7F8 #8978F8 #C978F8
triadic
#8978F8 #F88978 #78F889
tetradic
#8978F8 #F878A7 #E7F878 #78F8C9
square
#8978F8 #F878A7 #E7F878 #78F8C9
split-complementary
#8978F8 #F8C978 #A7F878
monochromatic
#2A0CE9 #563EF5 #8978F8 #BCB2FB #E6E2FD

Accessibility & contrast

On white

3.44
#8978F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8978F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978F8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978F8#FFFFFF#000000##000000
##8978F81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFC
Deuteranopia (green-blind)
#3887F5
Tritanopia (blue-blind)
#6693AD
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8978f8;
/* rgb */ color: rgb(137, 120, 248);
/* oklch */ color: oklch(65.0% 0.184 286.1);
Tailwind
colors: {
  custom: {
    50: '#b19ffb',
    500: '#8978f8',
    950: '#000000',
  },
}
SCSS
$custom: #8978f8;
$custom-light: #b19ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8978f8",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 247.969,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.18412,
    "h": 286.1
  },
  "luminance": 0.25529
}

Semantic roles & 50–950 ramp

primary
#8978F8
secondary
#F1F6D5
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8978F8

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

Preview Lab → · Contrast checker → · Palette generator →

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