#8979BF#8979BF

#8979BF is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.9% C 0.105 H 293.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8979BF
RGBrgb(137, 121, 191)
HSLhsl(254, 35%, 61%)
HSVhsv(254, 37%, 75%)
CMYKcmyk(28.3%, 36.6%, 0%, 25.1%)
CIE-LABlab(54.82, 21.62, -34.50)
CIE-LCHlch(54.82, 40.72, 302.07°)
OKLaboklab(61.9% 0.042 -0.0961)
OKLCHoklch(61.9% 0.105 293.6)
XYZxyz(26.5556, 22.7543, 52.2730)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8979BF #AFBF79
analogous
#798CBF #8979BF #AC79BF
triadic
#8979BF #BF8979 #79BF89
tetradic
#8979BF #BF798C #AFBF79 #79BFAC
square
#8979BF #BF798C #AFBF79 #79BFAC
split-complementary
#8979BF #BFAC79 #8CBF79
monochromatic
#4D3D80 #6551AA #8979BF #ADA2D3 #D2CCE7

Accessibility & contrast

On white

3.78
#8979BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8979BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8979BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8979BF#FFFFFF#000000##000000
##8979BF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#7D8593
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8979bf;
/* rgb */ color: rgb(137, 121, 191);
/* oklch */ color: oklch(61.9% 0.105 293.6);
Tailwind
colors: {
  custom: {
    50: '#ad9fd2',
    500: '#8979bf',
    950: '#000000',
  },
}
SCSS
$custom: #8979bf;
$custom-light: #ad9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8979bf",
  "rgb": {
    "r": 137,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 253.714,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.1049,
    "h": 293.6
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#8979BF
secondary
#D1D7BD
accent
#AE3793
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8979BF

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

Preview Lab → · Contrast checker → · Palette generator →

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