#978FA5#978FA5

#978FA5 is a light, muted violet. Relative luminance 0.289; OKLCH L 66.4% C 0.033 H 302.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#978FA5
RGBrgb(151, 143, 165)
HSLhsl(262, 11%, 60%)
HSVhsv(262, 13%, 65%)
CMYKcmyk(8.5%, 13.3%, 0%, 35.3%)
CIE-LABlab(60.73, 7.32, -10.50)
CIE-LCHlch(60.73, 12.80, 304.88°)
OKLaboklab(66.42% 0.0177 -0.0283)
OKLCHoklch(66.42% 0.033 302)
XYZxyz(29.3752, 28.9408, 39.6286)
Luminance0.2894 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA5 #9DA58F
analogous
#8F92A5 #978FA5 #A28FA5
triadic
#978FA5 #A5978F #8FA597
tetradic
#978FA5 #A58F92 #9DA58F #8FA5A2
square
#978FA5 #A58F92 #9DA58F #8FA5A2
split-complementary
#978FA5 #A5A28F #92A58F
monochromatic
#5A5367 #786E89 #978FA5 #B7B1C0 #D6D3DC

Accessibility & contrast

On white

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

On black

6.79
#978FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA5#FFFFFF#000000##000000
##978FA51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A6
Deuteranopia (green-blind)
#8D92A4
Tritanopia (blue-blind)
#959296
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978fa5;
/* rgb */ color: rgb(151, 143, 165);
/* oklch */ color: oklch(66.4% 0.033 302.0);
Tailwind
colors: {
  custom: {
    50: '#b5afbf',
    500: '#978fa5',
    950: '#000000',
  },
}
SCSS
$custom: #978fa5;
$custom-light: #b5afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa5",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 165
  },
  "hsl": {
    "h": 261.818,
    "s": 10.891,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.03335,
    "h": 302
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#978FA5
secondary
#C9CCC4
accent
#95517C
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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