#8976DC#8976DC

#8976DC is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.9% C 0.150 H 290.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8976DC
RGBrgb(137, 118, 220)
HSLhsl(251, 59%, 66%)
HSVhsv(251, 46%, 86%)
CMYKcmyk(37.7%, 46.4%, 0%, 13.7%)
CIE-LABlab(55.52, 31.04, -49.83)
CIE-LCHlch(55.52, 58.71, 301.91°)
OKLaboklab(62.9% 0.0511 -0.1407)
OKLCHoklch(62.9% 0.15 290)
XYZxyz(29.7097, 23.4417, 70.6556)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976DC #C9DC76
analogous
#7696DC #8976DC #BC76DC
triadic
#8976DC #DC8976 #76DC89
tetradic
#8976DC #DC7696 #C9DC76 #76DCBC
square
#8976DC #DC7696 #C9DC76 #76DCBC
split-complementary
#8976DC #DCBC76 #96DC76
monochromatic
#442CAC #5F45D0 #8976DC #B3A7E8 #DDD7F5

Accessibility & contrast

On white

3.69
#8976DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8976DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976DC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976DC#FFFFFF#000000##000000
##8976DC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#738A9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8976dc;
/* rgb */ color: rgb(137, 118, 220);
/* oklch */ color: oklch(62.9% 0.150 290.0);
Tailwind
colors: {
  custom: {
    50: '#af9de7',
    500: '#8976dc',
    950: '#000000',
  },
}
SCSS
$custom: #8976dc;
$custom-light: #af9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#8976dc",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 251.176,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62904,
    "c": 0.14972,
    "h": 290
  },
  "luminance": 0.23443
}

Semantic roles & 50–950 ramp

primary
#8976DC
secondary
#E1E8C6
accent
#C71FA8
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8976DC

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

Preview Lab → · Contrast checker → · Palette generator →

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