#978FA9#978FA9

#978FA9 is a light, muted violet. Relative luminance 0.291; OKLCH L 66.6% C 0.039 H 299.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#978FA9
RGBrgb(151, 143, 169)
HSLhsl(258, 13%, 61%)
HSVhsv(258, 15%, 66%)
CMYKcmyk(10.7%, 15.4%, 0%, 33.7%)
CIE-LABlab(60.86, 8.17, -12.58)
CIE-LCHlch(60.86, 15.00, 303.01°)
OKLaboklab(66.57% 0.0191 -0.034)
OKLCHoklch(66.57% 0.039 299.4)
XYZxyz(29.7450, 29.0888, 41.5761)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA9 #A1A98F
analogous
#8F94A9 #978FA9 #A48FA9
triadic
#978FA9 #A9978F #8FA997
tetradic
#978FA9 #A98F94 #A1A98F #8FA9A4
square
#978FA9 #A98F94 #A1A98F #8FA9A4
split-complementary
#978FA9 #A9A48F #94A98F
monochromatic
#5A526B #776D8E #978FA9 #B7B2C4 #D7D4DE

Accessibility & contrast

On white

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

On black

6.82
#978FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA9#FFFFFF#000000##000000
##978FA91.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978fa9;
/* rgb */ color: rgb(151, 143, 169);
/* oklch */ color: oklch(66.6% 0.039 299.4);
Tailwind
colors: {
  custom: {
    50: '#b5afc2',
    500: '#978fa9',
    950: '#000000',
  },
}
SCSS
$custom: #978fa9;
$custom-light: #b5afc2;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa9",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 169
  },
  "hsl": {
    "h": 258.462,
    "s": 13.131,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66566,
    "c": 0.039,
    "h": 299.4
  },
  "luminance": 0.29089
}

Semantic roles & 50–950 ramp

primary
#978FA9
secondary
#CCCFC5
accent
#974E81
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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