#8979BC#8979BC

#8979BC is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.7% C 0.101 H 294.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8979BC
RGBrgb(137, 121, 188)
HSLhsl(254, 33%, 61%)
HSVhsv(254, 36%, 74%)
CMYKcmyk(27.1%, 35.6%, 0%, 26.3%)
CIE-LABlab(54.68, 20.86, -33.00)
CIE-LCHlch(54.68, 39.04, 302.30°)
OKLaboklab(61.75% 0.0413 -0.0918)
OKLCHoklch(61.75% 0.101 294.2)
XYZxyz(26.2288, 22.6236, 50.5521)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979BC #ACBC79
analogous
#798ABC #8979BC #AA79BC
triadic
#8979BC #BC8979 #79BC89
tetradic
#8979BC #BC798A #ACBC79 #79BCAA
square
#8979BC #BC798A #ACBC79 #79BCAA
split-complementary
#8979BC #BCAA79 #8ABC79
monochromatic
#4D3E7C #6653A5 #8979BC #ADA2D0 #D1CBE5

Accessibility & contrast

On white

3.80
#8979BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8979BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979BC#FFFFFF#000000##000000
##8979BC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784BF
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#7E8492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8979bc;
/* rgb */ color: rgb(137, 121, 188);
/* oklch */ color: oklch(61.7% 0.101 294.2);
Tailwind
colors: {
  custom: {
    50: '#ad9fd0',
    500: '#8979bc',
    950: '#000000',
  },
}
SCSS
$custom: #8979bc;
$custom-light: #ad9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8979bc",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 254.328,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.10065,
    "h": 294.2
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#8979BC
secondary
#CFD5BC
accent
#AC3991
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8979BC

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

Preview Lab → · Contrast checker → · Palette generator →

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