#978FA7#978FA7

#978FA7 is a light, muted violet. Relative luminance 0.290; OKLCH L 66.5% C 0.036 H 300.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#978FA7
RGBrgb(151, 143, 167)
HSLhsl(260, 12%, 61%)
HSVhsv(260, 14%, 65%)
CMYKcmyk(9.6%, 14.4%, 0%, 34.5%)
CIE-LABlab(60.79, 7.75, -11.54)
CIE-LCHlch(60.79, 13.90, 303.86°)
OKLaboklab(66.49% 0.0184 -0.0311)
OKLCHoklch(66.49% 0.036 300.6)
XYZxyz(29.5587, 29.0142, 40.5948)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA7 #9FA78F
analogous
#8F93A7 #978FA7 #A38FA7
triadic
#978FA7 #A7978F #8FA797
tetradic
#978FA7 #A78F93 #9FA78F #8FA7A3
square
#978FA7 #A78F93 #9FA78F #8FA7A3
split-complementary
#978FA7 #A7A38F #93A78F
monochromatic
#5A5369 #776D8B #978FA7 #B7B1C2 #D7D4DD

Accessibility & contrast

On white

3.09
#978FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#978FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA7#FFFFFF#000000##000000
##978FA71.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B93A8
Deuteranopia (green-blind)
#8C93A6
Tritanopia (blue-blind)
#959297
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978fa7;
/* rgb */ color: rgb(151, 143, 167);
/* oklch */ color: oklch(66.5% 0.036 300.6);
Tailwind
colors: {
  custom: {
    50: '#b5afc1',
    500: '#978fa7',
    950: '#000000',
  },
}
SCSS
$custom: #978fa7;
$custom-light: #b5afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa7",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 260,
    "s": 12,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66494,
    "c": 0.03617,
    "h": 300.6
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#978FA7
secondary
#CACDC4
accent
#964F7F
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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