#978FA3#978FA3

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

Color values

HEX#978FA3
RGBrgb(151, 143, 163)
HSLhsl(264, 10%, 60%)
HSVhsv(264, 12%, 64%)
CMYKcmyk(7.4%, 12.3%, 0%, 36.1%)
CIE-LABlab(60.67, 6.90, -9.46)
CIE-LCHlch(60.67, 11.71, 306.12°)
OKLaboklab(66.35% 0.0169 -0.0254)
OKLCHoklch(66.35% 0.031 303.7)
XYZxyz(29.1946, 28.8686, 38.6774)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA3 #9BA38F
analogous
#8F91A3 #978FA3 #A18FA3
triadic
#978FA3 #A3978F #8FA397
tetradic
#978FA3 #A38F91 #9BA38F #8FA3A1
square
#978FA3 #A38F91 #9BA38F #8FA3A1
split-complementary
#978FA3 #A3A18F #91A38F
monochromatic
#5A5365 #786E86 #978FA3 #B6B1BF #D5D2DA

Accessibility & contrast

On white

3.10
#978FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#978FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA3#FFFFFF#000000##000000
##978FA31.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A4
Deuteranopia (green-blind)
#8D92A2
Tritanopia (blue-blind)
#959295
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978fa3;
/* rgb */ color: rgb(151, 143, 163);
/* oklch */ color: oklch(66.4% 0.031 303.7);
Tailwind
colors: {
  custom: {
    50: '#b5afbe',
    500: '#978fa3',
    950: '#000000',
  },
}
SCSS
$custom: #978fa3;
$custom-light: #b5afbe;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa3",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 163
  },
  "hsl": {
    "h": 264,
    "s": 9.804,
    "l": 60
  },
  "oklch": {
    "l": 0.66351,
    "c": 0.03055,
    "h": 303.7
  },
  "luminance": 0.28869
}

Semantic roles & 50–950 ramp

primary
#978FA3
secondary
#C8CBC3
accent
#B3759A
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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