#978CB2#978CB2

#978CB2 is a light, muted violet. Relative luminance 0.285; OKLCH L 66.3% C 0.057 H 298.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#978CB2
RGBrgb(151, 140, 178)
HSLhsl(257, 20%, 62%)
HSVhsv(257, 21%, 70%)
CMYKcmyk(15.2%, 21.3%, 0%, 30.2%)
CIE-LABlab(60.38, 11.86, -18.41)
CIE-LCHlch(60.38, 21.90, 302.79°)
OKLaboklab(66.3% 0.0268 -0.0502)
OKLCHoklch(66.3% 0.057 298.1)
XYZxyz(30.1748, 28.5497, 46.0318)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CB2 #A7B28C
analogous
#8C94B2 #978CB2 #AA8CB2
triadic
#978CB2 #B2978C #8CB297
tetradic
#978CB2 #B28C94 #A7B28C #8CB2AA
square
#978CB2 #B28C94 #A7B28C #8CB2AA
split-complementary
#978CB2 #B2AA8C #94B28C
monochromatic
#5A4E75 #766799 #978CB2 #B8B1CB #D9D5E3

Accessibility & contrast

On white

3.13
#978CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#978CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CB2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CB2#FFFFFF#000000##000000
##978CB21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8492B4
Deuteranopia (green-blind)
#8691B1
Tritanopia (blue-blind)
#929299
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978cb2;
/* rgb */ color: rgb(151, 140, 178);
/* oklch */ color: oklch(66.3% 0.057 298.1);
Tailwind
colors: {
  custom: {
    50: '#b6adc9',
    500: '#978cb2',
    950: '#000000',
  },
}
SCSS
$custom: #978cb2;
$custom-light: #b6adc9;
$custom-dark: #000000;
JSON
{
  "hex": "#978cb2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 257.368,
    "s": 19.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.05687,
    "h": 298.1
  },
  "luminance": 0.2855
}

Semantic roles & 50–950 ramp

primary
#978CB2
secondary
#D0D4C6
accent
#9E4785
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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