#8979BB#8979BB

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

Color values

HEX#8979BB
RGBrgb(137, 121, 187)
HSLhsl(255, 33%, 60%)
HSVhsv(255, 35%, 73%)
CMYKcmyk(26.7%, 35.3%, 0%, 26.7%)
CIE-LABlab(54.64, 20.61, -32.50)
CIE-LCHlch(54.64, 38.48, 302.38°)
OKLaboklab(61.7% 0.0411 -0.0903)
OKLCHoklch(61.7% 0.099 294.4)
XYZxyz(26.1214, 22.5806, 49.9864)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979BB #ABBB79
analogous
#798ABB #8979BB #AA79BB
triadic
#8979BB #BB8979 #79BB89
tetradic
#8979BB #BB798A #ABBB79 #79BBAA
square
#8979BB #BB798A #ABBB79 #79BBAA
split-complementary
#8979BB #BBAA79 #8ABB79
monochromatic
#4D3E7B #6753A4 #8979BB #ADA2D0 #D1CAE4

Accessibility & contrast

On white

3.81
#8979BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8979BB#FFFFFF#000000##000000
##8979BB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6883BE
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#7F8491
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8979bb;
/* rgb */ color: rgb(137, 121, 187);
/* oklch */ color: oklch(61.7% 0.099 294.4);
Tailwind
colors: {
  custom: {
    50: '#ad9fcf',
    500: '#8979bb',
    950: '#000000',
  },
}
SCSS
$custom: #8979bb;
$custom-light: #ad9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8979bb",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 254.545,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.617,
    "c": 0.09924,
    "h": 294.4
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#8979BB
secondary
#CED5BB
accent
#AB3A90
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8979BB

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

Preview Lab → · Contrast checker → · Palette generator →

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