#8977DC#8977DC

#8977DC is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.1% C 0.148 H 289.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8977DC
RGBrgb(137, 119, 220)
HSLhsl(251, 59%, 66%)
HSVhsv(251, 46%, 86%)
CMYKcmyk(37.7%, 45.9%, 0%, 13.7%)
CIE-LABlab(55.76, 30.45, -49.45)
CIE-LCHlch(55.76, 58.08, 301.62°)
OKLaboklab(63.09% 0.0499 -0.1396)
OKLCHoklch(63.09% 0.148 289.7)
XYZxyz(29.8281, 23.6785, 70.6951)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8977DC #CADC77
analogous
#7798DC #8977DC #BC77DC
triadic
#8977DC #DC8977 #77DC89
tetradic
#8977DC #DC7798 #CADC77 #77DCBC
square
#8977DC #DC7798 #CADC77 #77DCBC
split-complementary
#8977DC #DCBC77 #98DC77
monochromatic
#432CAC #5F46CF #8977DC #B3A8E9 #DDD8F5

Accessibility & contrast

On white

3.66
#8977DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8977DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8977DC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8977DC#FFFFFF#000000##000000
##8977DC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#5383DA
Tritanopia (blue-blind)
#738B9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8977dc;
/* rgb */ color: rgb(137, 119, 220);
/* oklch */ color: oklch(63.1% 0.148 289.7);
Tailwind
colors: {
  custom: {
    50: '#af9ee7',
    500: '#8977dc',
    950: '#000000',
  },
}
SCSS
$custom: #8977dc;
$custom-light: #af9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8977dc",
  "rgb": {
    "r": 137,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 250.693,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.14823,
    "h": 289.7
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#8977DC
secondary
#E2E8C7
accent
#C71FA9
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8977DC

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

Preview Lab → · Contrast checker → · Palette generator →

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