#978EAE#978EAE

#978EAE is a light, muted violet. Relative luminance 0.290; OKLCH L 66.5% C 0.048 H 298.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#978EAE
RGBrgb(151, 142, 174)
HSLhsl(257, 16%, 62%)
HSVhsv(257, 18%, 68%)
CMYKcmyk(13.2%, 18.4%, 0%, 31.8%)
CIE-LABlab(60.77, 9.83, -15.56)
CIE-LCHlch(60.77, 18.40, 302.28°)
OKLaboklab(66.55% 0.0224 -0.0422)
OKLCHoklch(66.55% 0.048 298)
XYZxyz(30.0739, 28.9812, 44.0457)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EAE #A5AE8E
analogous
#8E95AE #978EAE #A78EAE
triadic
#978EAE #AE978E #8EAE97
tetradic
#978EAE #AE8E95 #A5AE8E #8EAEA7
square
#978EAE #AE8E95 #A5AE8E #8EAEA7
split-complementary
#978EAE #AEA78E #95AE8E
monochromatic
#5A5171 #766A94 #978EAE #B8B2C8 #D9D5E1

Accessibility & contrast

On white

3.09
#978EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#978EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EAE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EAE#FFFFFF#000000##000000
##978EAE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8893AF
Deuteranopia (green-blind)
#8992AD
Tritanopia (blue-blind)
#939399
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978eae;
/* rgb */ color: rgb(151, 142, 174);
/* oklch */ color: oklch(66.5% 0.048 298.0);
Tailwind
colors: {
  custom: {
    50: '#b5afc6',
    500: '#978eae',
    950: '#000000',
  },
}
SCSS
$custom: #978eae;
$custom-light: #b5afc6;
$custom-dark: #000000;
JSON
{
  "hex": "#978eae",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 174
  },
  "hsl": {
    "h": 256.875,
    "s": 16.495,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66549,
    "c": 0.04781,
    "h": 298
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

primary
#978EAE
secondary
#CED2C6
accent
#9B4B84
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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