#978DA7#978DA7

#978DA7 is a light, muted violet. Relative luminance 0.284; OKLCH L 66.1% C 0.040 H 302.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#978DA7
RGBrgb(151, 141, 167)
HSLhsl(263, 13%, 60%)
HSVhsv(263, 16%, 65%)
CMYKcmyk(9.6%, 15.6%, 0%, 34.5%)
CIE-LABlab(60.27, 8.88, -12.34)
CIE-LCHlch(60.27, 15.20, 305.76°)
OKLaboklab(66.08% 0.0215 -0.0333)
OKLCHoklch(66.08% 0.04 302.8)
XYZxyz(29.2611, 28.4191, 40.4956)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DA7 #9DA78D
analogous
#8D90A7 #978DA7 #A48DA7
triadic
#978DA7 #A7978D #8DA797
tetradic
#978DA7 #A78D90 #9DA78D #8DA7A4
square
#978DA7 #A78D90 #9DA78D #8DA7A4
split-complementary
#978DA7 #A7A48D #90A78D
monochromatic
#5A5169 #786C8B #978DA7 #B7B0C2 #D6D2DC

Accessibility & contrast

On white

3.14
#978DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#978DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DA7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DA7#FFFFFF#000000##000000
##978DA71.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#8A91A6
Tritanopia (blue-blind)
#959096
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978da7;
/* rgb */ color: rgb(151, 141, 167);
/* oklch */ color: oklch(66.1% 0.040 302.8);
Tailwind
colors: {
  custom: {
    50: '#b5aec1',
    500: '#978da7',
    950: '#000000',
  },
}
SCSS
$custom: #978da7;
$custom-light: #b5aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#978da7",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 263.077,
    "s": 12.871,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66082,
    "c": 0.03962,
    "h": 302.8
  },
  "luminance": 0.28419
}

Semantic roles & 50–950 ramp

primary
#978DA7
secondary
#C9CDC3
accent
#974F7B
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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