#8979CD#8979CD

#8979CD is a light, vivid violet. Relative luminance 0.234; OKLCH L 62.6% C 0.125 H 291.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8979CD
RGBrgb(137, 121, 205)
HSLhsl(251, 46%, 64%)
HSVhsv(251, 41%, 80%)
CMYKcmyk(33.2%, 41%, 0%, 19.6%)
CIE-LABlab(55.48, 25.25, -41.43)
CIE-LCHlch(55.48, 48.52, 301.36°)
OKLaboklab(62.62% 0.0449 -0.1162)
OKLCHoklch(62.62% 0.125 291.1)
XYZxyz(28.1705, 23.4003, 60.7783)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979CD #BDCD79
analogous
#7993CD #8979CD #B379CD
triadic
#8979CD #CD8979 #79CD89
tetradic
#8979CD #CD7993 #BDCD79 #79CDB3
square
#8979CD #CD7993 #BDCD79 #79CDB3
split-complementary
#8979CD #CDB379 #93CD79
monochromatic
#493794 #624CBC #8979CD #B0A6DE #D7D2EE

Accessibility & contrast

On white

3.70
#8979CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8979CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979CD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979CD#FFFFFF#000000##000000
##8979CD1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#798999
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8979cd;
/* rgb */ color: rgb(137, 121, 205);
/* oklch */ color: oklch(62.6% 0.125 291.1);
Tailwind
colors: {
  custom: {
    50: '#aea0dc',
    500: '#8979cd',
    950: '#000000',
  },
}
SCSS
$custom: #8979cd;
$custom-light: #aea0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8979cd",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 251.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.12455,
    "h": 291.1
  },
  "luminance": 0.23401
}

Semantic roles & 50–950 ramp

primary
#8979CD
secondary
#DAE0C2
accent
#B92D9E
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8979CD

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

Preview Lab → · Contrast checker → · Palette generator →

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