#978CA7#978CA7

#978CA7 is a light, muted violet. Relative luminance 0.281; OKLCH L 65.9% C 0.041 H 303.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#978CA7
RGBrgb(151, 140, 167)
HSLhsl(264, 13%, 60%)
HSVhsv(264, 16%, 65%)
CMYKcmyk(9.6%, 16.2%, 0%, 34.5%)
CIE-LABlab(60.00, 9.45, -12.73)
CIE-LCHlch(60.00, 15.86, 306.59°)
OKLaboklab(65.88% 0.023 -0.0344)
OKLCHoklch(65.88% 0.041 303.8)
XYZxyz(29.1143, 28.1255, 40.4467)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CA7 #9CA78C
analogous
#8C8FA7 #978CA7 #A48CA7
triadic
#978CA7 #A7978C #8CA797
tetradic
#978CA7 #A78C8F #9CA78C #8CA7A4
square
#978CA7 #A78C8F #9CA78C #8CA7A4
split-complementary
#978CA7 #A7A48C #8FA78C
monochromatic
#5A5069 #786B8B #978CA7 #B6AFC2 #D6D1DC

Accessibility & contrast

On white

3.17
#978CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#978CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CA7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CA7#FFFFFF#000000##000000
##978CA71.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A8
Deuteranopia (green-blind)
#8991A6
Tritanopia (blue-blind)
#959095
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978ca7;
/* rgb */ color: rgb(151, 140, 167);
/* oklch */ color: oklch(65.9% 0.041 303.8);
Tailwind
colors: {
  custom: {
    50: '#b5adc1',
    500: '#978ca7',
    950: '#000000',
  },
}
SCSS
$custom: #978ca7;
$custom-light: #b5adc1;
$custom-dark: #000000;
JSON
{
  "hex": "#978ca7",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 264.444,
    "s": 13.3,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65877,
    "c": 0.04136,
    "h": 303.8
  },
  "luminance": 0.28125
}

Semantic roles & 50–950 ramp

primary
#978CA7
secondary
#C8CDC2
accent
#974E7A
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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