#978FA1#978FA1

#978FA1 is a light, muted violet. Relative luminance 0.288; OKLCH L 66.3% C 0.028 H 305.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#978FA1
RGBrgb(151, 143, 161)
HSLhsl(267, 9%, 60%)
HSVhsv(267, 11%, 63%)
CMYKcmyk(6.2%, 11.2%, 0%, 36.9%)
CIE-LABlab(60.60, 6.49, -8.42)
CIE-LCHlch(60.60, 10.63, 307.63°)
OKLaboklab(66.28% 0.0162 -0.0226)
OKLCHoklch(66.28% 0.028 305.7)
XYZxyz(29.0168, 28.7975, 37.7411)
Luminance0.2880 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA1 #99A18F
analogous
#8F90A1 #978FA1 #A08FA1
triadic
#978FA1 #A1978F #8FA197
tetradic
#978FA1 #A18F90 #99A18F #8FA1A0
square
#978FA1 #A18F90 #99A18F #8FA1A0
split-complementary
#978FA1 #A1A08F #90A18F
monochromatic
#5A5363 #786F84 #978FA1 #B6B0BD #D5D2D9

Accessibility & contrast

On white

3.11
#978FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#978FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA1#FFFFFF#000000##000000
##978FA11.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A2
Deuteranopia (green-blind)
#8E92A0
Tritanopia (blue-blind)
#969195
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978fa1;
/* rgb */ color: rgb(151, 143, 161);
/* oklch */ color: oklch(66.3% 0.028 305.7);
Tailwind
colors: {
  custom: {
    50: '#b5afbc',
    500: '#978fa1',
    950: '#000000',
  },
}
SCSS
$custom: #978fa1;
$custom-light: #b5afbc;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa1",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 161
  },
  "hsl": {
    "h": 266.667,
    "s": 8.738,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.02778,
    "h": 305.7
  },
  "luminance": 0.28797
}

Semantic roles & 50–950 ramp

primary
#978FA1
secondary
#C6C9C2
accent
#B27697
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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