#978FA8#978FA8

#978FA8 is a light, muted violet. Relative luminance 0.291; OKLCH L 66.5% C 0.038 H 300.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#978FA8
RGBrgb(151, 143, 168)
HSLhsl(259, 13%, 61%)
HSVhsv(259, 15%, 66%)
CMYKcmyk(10.1%, 14.9%, 0%, 34.1%)
CIE-LABlab(60.83, 7.96, -12.06)
CIE-LCHlch(60.83, 14.45, 303.42°)
OKLaboklab(66.53% 0.0188 -0.0325)
OKLCHoklch(66.53% 0.038 300)
XYZxyz(29.6515, 29.0513, 41.0836)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA8 #A0A88F
analogous
#8F93A8 #978FA8 #A38FA8
triadic
#978FA8 #A8978F #8FA897
tetradic
#978FA8 #A88F93 #A0A88F #8FA8A3
square
#978FA8 #A88F93 #A0A88F #8FA8A3
split-complementary
#978FA8 #A8A38F #93A88F
monochromatic
#5A526A #776D8D #978FA8 #B7B1C3 #D7D4DE

Accessibility & contrast

On white

3.08
#978FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#978FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA8#FFFFFF#000000##000000
##978FA81.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A93A9
Deuteranopia (green-blind)
#8C93A7
Tritanopia (blue-blind)
#949297
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978fa8;
/* rgb */ color: rgb(151, 143, 168);
/* oklch */ color: oklch(66.5% 0.038 300.0);
Tailwind
colors: {
  custom: {
    50: '#b5afc1',
    500: '#978fa8',
    950: '#000000',
  },
}
SCSS
$custom: #978fa8;
$custom-light: #b5afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa8",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 259.2,
    "s": 12.563,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6653,
    "c": 0.03758,
    "h": 300
  },
  "luminance": 0.29051
}

Semantic roles & 50–950 ramp

primary
#978FA8
secondary
#CBCEC5
accent
#974F80
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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