#8979DC#8979DC

#8979DC is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.4% C 0.145 H 289.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8979DC
RGBrgb(137, 121, 220)
HSLhsl(250, 59%, 67%)
HSVhsv(250, 45%, 86%)
CMYKcmyk(37.7%, 45%, 0%, 13.7%)
CIE-LABlab(56.25, 29.28, -48.68)
CIE-LCHlch(56.25, 56.81, 301.02°)
OKLaboklab(63.45% 0.0473 -0.1373)
OKLCHoklch(63.45% 0.145 289)
XYZxyz(30.0686, 24.1595, 70.7753)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979DC #CCDC79
analogous
#799BDC #8979DC #BB79DC
triadic
#8979DC #DC8979 #79DC89
tetradic
#8979DC #DC799B #CCDC79 #79DCBB
square
#8979DC #DC799B #CCDC79 #79DCBB
split-complementary
#8979DC #DCBB79 #9BDC79
monochromatic
#422DAD #5E48CF #8979DC #B4AAE9 #DEDAF5

Accessibility & contrast

On white

3.60
#8979DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8979DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979DC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979DC#FFFFFF#000000##000000
##8979DC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#5684DA
Tritanopia (blue-blind)
#738CA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8979dc;
/* rgb */ color: rgb(137, 121, 220);
/* oklch */ color: oklch(63.4% 0.145 289.0);
Tailwind
colors: {
  custom: {
    50: '#afa0e7',
    500: '#8979dc',
    950: '#000000',
  },
}
SCSS
$custom: #8979dc;
$custom-light: #afa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8979dc",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 249.697,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63449,
    "c": 0.14526,
    "h": 289
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#8979DC
secondary
#E3E8C9
accent
#C61FAB
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8979DC

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

Preview Lab → · Contrast checker → · Palette generator →

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