#8976FD#8976FD

#8976FD is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.9% C 0.193 H 286.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8976FD
RGBrgb(137, 118, 253)
HSLhsl(248, 97%, 73%)
HSVhsv(248, 53%, 99%)
CMYKcmyk(45.8%, 53.4%, 0%, 0.8%)
CIE-LABlab(57.43, 40.23, -65.17)
CIE-LCHlch(57.43, 76.58, 301.69°)
OKLaboklab(64.94% 0.0537 -0.1857)
OKLCHoklch(64.94% 0.193 286.1)
XYZxyz(34.5194, 25.3656, 95.9867)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976FD #EAFD76
analogous
#76A7FD #8976FD #CC76FD
triadic
#8976FD #FD8976 #76FD89
tetradic
#8976FD #FD76A7 #EAFD76 #76FDCC
square
#8976FD #FD76A7 #EAFD76 #76FDCC
split-complementary
#8976FD #FDCC76 #A7FD76
monochromatic
#2604F5 #553AFC #8976FD #BDB2FE #E5E1FF

Accessibility & contrast

On white

3.46
#8976FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8976FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976FD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976FD#FFFFFF#000000##000000
##8976FD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8EFF
Deuteranopia (green-blind)
#2B86FA
Tritanopia (blue-blind)
#6394AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8976fd;
/* rgb */ color: rgb(137, 118, 253);
/* oklch */ color: oklch(64.9% 0.193 286.1);
Tailwind
colors: {
  custom: {
    50: '#b29eff',
    500: '#8976fd',
    950: '#000000',
  },
}
SCSS
$custom: #8976fd;
$custom-light: #b29eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8976fd",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 248.444,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.19332,
    "h": 286.1
  },
  "luminance": 0.25367
}

Semantic roles & 50–950 ramp

primary
#8976FD
secondary
#F2F7D4
accent
#E600C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8976FD

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

Preview Lab → · Contrast checker → · Palette generator →

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