#8979CE#8979CE

#8979CE is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.7% C 0.126 H 291.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8979CE
RGBrgb(137, 121, 206)
HSLhsl(251, 46%, 64%)
HSVhsv(251, 41%, 81%)
CMYKcmyk(33.5%, 41.3%, 0%, 19.2%)
CIE-LABlab(55.53, 25.52, -41.92)
CIE-LCHlch(55.53, 49.07, 301.33°)
OKLaboklab(62.67% 0.0451 -0.1176)
OKLCHoklch(62.67% 0.126 291)
XYZxyz(28.2916, 23.4487, 61.4160)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979CE #BECE79
analogous
#7994CE #8979CE #B479CE
triadic
#8979CE #CE8979 #79CE89
tetradic
#8979CE #CE7994 #BECE79 #79CEB4
square
#8979CE #CE7994 #BECE79 #79CEB4
split-complementary
#8979CE #CEB479 #94CE79
monochromatic
#493796 #624CBE #8979CE #B0A6DE #D8D3EF

Accessibility & contrast

On white

3.69
#8979CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8979CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979CE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979CE#FFFFFF#000000##000000
##8979CE1.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)
#5E86D1
Deuteranopia (green-blind)
#6083CC
Tritanopia (blue-blind)
#78899A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8979ce;
/* rgb */ color: rgb(137, 121, 206);
/* oklch */ color: oklch(62.7% 0.126 291.0);
Tailwind
colors: {
  custom: {
    50: '#aea0dd',
    500: '#8979ce',
    950: '#000000',
  },
}
SCSS
$custom: #8979ce;
$custom-light: #aea0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8979ce",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 251.294,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.12595,
    "h": 291
  },
  "luminance": 0.23449
}

Semantic roles & 50–950 ramp

primary
#8979CE
secondary
#DBE0C3
accent
#BA2C9F
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8979CE

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

Preview Lab → · Contrast checker → · Palette generator →

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