#8978DC#8978DC

#8978DC is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.3% C 0.147 H 289.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8978DC
RGBrgb(137, 120, 220)
HSLhsl(250, 59%, 67%)
HSVhsv(250, 45%, 86%)
CMYKcmyk(37.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(56.01, 29.87, -49.07)
CIE-LCHlch(56.01, 57.44, 301.33°)
OKLaboklab(63.27% 0.0486 -0.1385)
OKLCHoklch(63.27% 0.147 289.3)
XYZxyz(29.9478, 23.9178, 70.7350)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978DC #CBDC78
analogous
#7899DC #8978DC #BB78DC
triadic
#8978DC #DC8978 #78DC89
tetradic
#8978DC #DC7899 #CBDC78 #78DCBB
square
#8978DC #DC7899 #CBDC78 #78DCBB
split-complementary
#8978DC #DCBB78 #99DC78
monochromatic
#432DAD #5F47CF #8978DC #B3A9E9 #DED9F5

Accessibility & contrast

On white

3.63
#8978DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8978DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978DC#FFFFFF#000000##000000
##8978DC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#5584DA
Tritanopia (blue-blind)
#738C9F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8978dc;
/* rgb */ color: rgb(137, 120, 220);
/* oklch */ color: oklch(63.3% 0.147 289.3);
Tailwind
colors: {
  custom: {
    50: '#af9fe7',
    500: '#8978dc',
    950: '#000000',
  },
}
SCSS
$custom: #8978dc;
$custom-light: #af9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8978dc",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 250.2,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.14675,
    "h": 289.3
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#8978DC
secondary
#E3E8C8
accent
#C61FAA
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8978DC

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

Preview Lab → · Contrast checker → · Palette generator →

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