#8978BC#8978BC

#8978BC is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.6% C 0.102 H 294.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8978BC
RGBrgb(137, 120, 188)
HSLhsl(255, 34%, 60%)
HSVhsv(255, 36%, 74%)
CMYKcmyk(27.1%, 36.2%, 0%, 26.3%)
CIE-LABlab(54.43, 21.45, -33.39)
CIE-LCHlch(54.43, 39.69, 302.71°)
OKLaboklab(61.56% 0.0427 -0.0929)
OKLCHoklch(61.56% 0.102 294.7)
XYZxyz(26.1079, 22.3818, 50.5118)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8978BC #ABBC78
analogous
#7889BC #8978BC #AB78BC
triadic
#8978BC #BC8978 #78BC89
tetradic
#8978BC #BC7889 #ABBC78 #78BCAB
square
#8978BC #BC7889 #ABBC78 #78BCAB
split-complementary
#8978BC #BCAB78 #89BC78
monochromatic
#4D3E7C #6752A5 #8978BC #ADA1D0 #D1CAE5

Accessibility & contrast

On white

3.83
#8978BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#8978BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8978BC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8978BC#FFFFFF#000000##000000
##8978BC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#7E8491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8978bc;
/* rgb */ color: rgb(137, 120, 188);
/* oklch */ color: oklch(61.6% 0.102 294.7);
Tailwind
colors: {
  custom: {
    50: '#ad9fd0',
    500: '#8978bc',
    950: '#000000',
  },
}
SCSS
$custom: #8978bc;
$custom-light: #ad9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8978bc",
  "rgb": {
    "r": 137,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 255,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61556,
    "c": 0.10228,
    "h": 294.7
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#8978BC
secondary
#CED5BB
accent
#AC3990
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8978BC

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

Preview Lab → · Contrast checker → · Palette generator →

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