#8978FA#8978FA

#8978FA is a light, vivid blue. Relative luminance 0.257; OKLCH L 65.1% C 0.187 H 286.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8978FA
RGBrgb(137, 120, 250)
HSLhsl(248, 93%, 73%)
HSVhsv(248, 52%, 98%)
CMYKcmyk(45.2%, 52%, 0%, 2%)
CIE-LABlab(57.71, 38.22, -63.07)
CIE-LCHlch(57.71, 73.75, 301.22°)
OKLaboklab(65.09% 0.0513 -0.1795)
OKLCHoklch(65.09% 0.187 286)
XYZxyz(34.2833, 25.6520, 93.5689)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978FA #E9FA78
analogous
#78A8FA #8978FA #CA78FA
triadic
#8978FA #FA8978 #78FA89
tetradic
#8978FA #FA78A8 #E9FA78 #78FACA
square
#8978FA #FA78A8 #E9FA78 #78FACA
split-complementary
#8978FA #FACA78 #A8FA78
monochromatic
#2709EF #553DF8 #8978FA #BDB3FC #E5E1FE

Accessibility & contrast

On white

3.43
#8978FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8978FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978FA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978FA#FFFFFF#000000##000000
##8978FA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#3587F7
Tritanopia (blue-blind)
#6494AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8978fa;
/* rgb */ color: rgb(137, 120, 250);
/* oklch */ color: oklch(65.1% 0.187 286.0);
Tailwind
colors: {
  custom: {
    50: '#b29ffd',
    500: '#8978fa',
    950: '#000000',
  },
}
SCSS
$custom: #8978fa;
$custom-light: #b29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8978fa",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 247.846,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.18672,
    "h": 286
  },
  "luminance": 0.25653
}

Semantic roles & 50–950 ramp

primary
#8978FA
secondary
#F2F6D5
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8978FA

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

Preview Lab → · Contrast checker → · Palette generator →

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