#8976FE#8976FE

#8976FE is a light, vivid blue. Relative luminance 0.254; OKLCH L 65.0% C 0.195 H 286.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8976FE
RGBrgb(137, 118, 254)
HSLhsl(248, 99%, 73%)
HSVhsv(248, 54%, 100%)
CMYKcmyk(46.1%, 53.5%, 0%, 0.4%)
CIE-LABlab(57.49, 40.51, -65.62)
CIE-LCHlch(57.49, 77.12, 301.69°)
OKLaboklab(65.01% 0.0537 -0.187)
OKLCHoklch(65.01% 0.195 286)
XYZxyz(34.6791, 25.4295, 96.8278)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976FE #EBFE76
analogous
#76A7FE #8976FE #CD76FE
triadic
#8976FE #FE8976 #76FE89
tetradic
#8976FE #FE76A7 #EBFE76 #76FECD
square
#8976FE #FE76A7 #EBFE76 #76FECD
split-complementary
#8976FE #FECD76 #A7FE76
monochromatic
#2402F8 #5539FE #8976FE #BDB3FE #E5E1FF

Accessibility & contrast

On white

3.45
#8976FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8976FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976FE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976FE#FFFFFF#000000##000000
##8976FE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#6294AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8976fe;
/* rgb */ color: rgb(137, 118, 254);
/* oklch */ color: oklch(65.0% 0.195 286.0);
Tailwind
colors: {
  custom: {
    50: '#b29eff',
    500: '#8976fe',
    950: '#000000',
  },
}
SCSS
$custom: #8976fe;
$custom-light: #b29eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8976fe",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 248.382,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.19461,
    "h": 286
  },
  "luminance": 0.25431
}

Semantic roles & 50–950 ramp

primary
#8976FE
secondary
#F2F7D4
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8976FE

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

Preview Lab → · Contrast checker → · Palette generator →

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