#8978F2#8978F2

#8978F2 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.6% C 0.176 H 286.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8978F2
RGBrgb(137, 120, 242)
HSLhsl(248, 82%, 71%)
HSVhsv(248, 50%, 95%)
CMYKcmyk(43.4%, 50.4%, 0%, 5.1%)
CIE-LABlab(57.23, 35.96, -59.40)
CIE-LCHlch(57.23, 69.44, 301.19°)
OKLaboklab(64.58% 0.0508 -0.1688)
OKLCHoklch(64.58% 0.176 286.8)
XYZxyz(33.0554, 25.1608, 87.1020)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978F2 #E1F278
analogous
#78A4F2 #8978F2 #C678F2
triadic
#8978F2 #F28978 #78F289
tetradic
#8978F2 #F278A4 #E1F278 #78F2C6
square
#8978F2 #F278A4 #E1F278 #78F2C6
split-complementary
#8978F2 #F2C678 #A4F278
monochromatic
#3115DB #5840ED #8978F2 #BAB0F7 #E7E3FC

Accessibility & contrast

On white

3.48
#8978F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8978F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978F2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978F2#FFFFFF#000000##000000
##8978F21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#428DF6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#6992AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8978f2;
/* rgb */ color: rgb(137, 120, 242);
/* oklch */ color: oklch(64.6% 0.176 286.8);
Tailwind
colors: {
  custom: {
    50: '#b19ff7',
    500: '#8978f2',
    950: '#000000',
  },
}
SCSS
$custom: #8978f2;
$custom-light: #b19ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8978f2",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 248.361,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64584,
    "c": 0.17625,
    "h": 286.8
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#8978F2
secondary
#EFF3D3
accent
#DF07C1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8978F2

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

Preview Lab → · Contrast checker → · Palette generator →

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