#978CB4#978CB4

#978CB4 is a light, muted violet. Relative luminance 0.286; OKLCH L 66.4% C 0.060 H 297.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#978CB4
RGBrgb(151, 140, 180)
HSLhsl(257, 21%, 63%)
HSVhsv(257, 22%, 71%)
CMYKcmyk(16.1%, 22.2%, 0%, 29.4%)
CIE-LABlab(60.45, 12.31, -19.44)
CIE-LCHlch(60.45, 23.01, 302.35°)
OKLaboklab(66.38% 0.0274 -0.053)
OKLCHoklch(66.38% 0.06 297.4)
XYZxyz(30.3771, 28.6306, 47.0971)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CB4 #A9B48C
analogous
#8C95B4 #978CB4 #AB8CB4
triadic
#978CB4 #B4978C #8CB497
tetradic
#978CB4 #B48C95 #A9B48C #8CB4AB
square
#978CB4 #B48C95 #A9B48C #8CB4AB
split-complementary
#978CB4 #B4AB8C #95B48C
monochromatic
#594E78 #76679C #978CB4 #B8B1CC #DAD6E4

Accessibility & contrast

On white

3.12
#978CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#978CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CB4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CB4#FFFFFF#000000##000000
##978CB41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8492B6
Deuteranopia (green-blind)
#8591B3
Tritanopia (blue-blind)
#92929A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978cb4;
/* rgb */ color: rgb(151, 140, 180);
/* oklch */ color: oklch(66.4% 0.060 297.4);
Tailwind
colors: {
  custom: {
    50: '#b6adca',
    500: '#978cb4',
    950: '#000000',
  },
}
SCSS
$custom: #978cb4;
$custom-light: #b6adca;
$custom-dark: #000000;
JSON
{
  "hex": "#978cb4",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 256.5,
    "s": 21.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66378,
    "c": 0.05972,
    "h": 297.4
  },
  "luminance": 0.28631
}

Semantic roles & 50–950 ramp

primary
#978CB4
secondary
#D1D5C7
accent
#9F4687
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978CB4

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

Preview Lab → · Contrast checker → · Palette generator →

#978CB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva