#8979CF#8979CF

#8979CF is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.7% C 0.127 H 290.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8979CF
RGBrgb(137, 121, 207)
HSLhsl(251, 47%, 64%)
HSVhsv(251, 42%, 81%)
CMYKcmyk(33.8%, 41.5%, 0%, 18.8%)
CIE-LABlab(55.58, 25.78, -42.41)
CIE-LCHlch(55.58, 49.63, 301.30°)
OKLaboklab(62.73% 0.0452 -0.119)
OKLCHoklch(62.73% 0.127 290.8)
XYZxyz(28.4134, 23.4975, 62.0578)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979CF #BFCF79
analogous
#7994CF #8979CF #B479CF
triadic
#8979CF #CF8979 #79CF89
tetradic
#8979CF #CF7994 #BFCF79 #79CFB4
square
#8979CF #CF7994 #BFCF79 #79CFB4
split-complementary
#8979CF #CFB479 #94CF79
monochromatic
#483697 #614CBF #8979CF #B1A6DF #D8D3EF

Accessibility & contrast

On white

3.68
#8979CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8979CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979CF#FFFFFF#000000##000000
##8979CF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#5F83CD
Tritanopia (blue-blind)
#78899A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8979cf;
/* rgb */ color: rgb(137, 121, 207);
/* oklch */ color: oklch(62.7% 0.127 290.8);
Tailwind
colors: {
  custom: {
    50: '#aea0de',
    500: '#8979cf',
    950: '#000000',
  },
}
SCSS
$custom: #8979cf;
$custom-light: #aea0de;
$custom-dark: #000000;
JSON
{
  "hex": "#8979cf",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 251.163,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62728,
    "c": 0.12734,
    "h": 290.8
  },
  "luminance": 0.23498
}

Semantic roles & 50–950 ramp

primary
#8979CF
secondary
#DBE1C3
accent
#BB2BA0
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8979CF

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

Preview Lab → · Contrast checker → · Palette generator →

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