#978EAC#978EAC

#978EAC is a light, muted violet. Relative luminance 0.289; OKLCH L 66.5% C 0.045 H 298.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#978EAC
RGBrgb(151, 142, 172)
HSLhsl(258, 15%, 62%)
HSVhsv(258, 17%, 67%)
CMYKcmyk(12.2%, 17.4%, 0%, 32.5%)
CIE-LABlab(60.70, 9.39, -14.53)
CIE-LCHlch(60.70, 17.30, 302.88°)
OKLaboklab(66.47% 0.0217 -0.0394)
OKLCHoklch(66.47% 0.045 298.9)
XYZxyz(29.8804, 28.9038, 43.0265)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EAC #A3AC8E
analogous
#8E94AC #978EAC #A68EAC
triadic
#978EAC #AC978E #8EAC97
tetradic
#978EAC #AC8E94 #A3AC8E #8EACA6
square
#978EAC #AC8E94 #A3AC8E #8EACA6
split-complementary
#978EAC #ACA68E #94AC8E
monochromatic
#5A516E #776B92 #978EAC #B7B1C6 #D8D5E0

Accessibility & contrast

On white

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

On black

6.78
#978EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EAC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EAC#FFFFFF#000000##000000
##978EAC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AD
Deuteranopia (green-blind)
#8A92AB
Tritanopia (blue-blind)
#949298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978eac;
/* rgb */ color: rgb(151, 142, 172);
/* oklch */ color: oklch(66.5% 0.045 298.9);
Tailwind
colors: {
  custom: {
    50: '#b5afc4',
    500: '#978eac',
    950: '#000000',
  },
}
SCSS
$custom: #978eac;
$custom-light: #b5afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#978eac",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 172
  },
  "hsl": {
    "h": 258,
    "s": 15.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66473,
    "c": 0.04496,
    "h": 298.9
  },
  "luminance": 0.28904
}

Semantic roles & 50–950 ramp

primary
#978EAC
secondary
#CDD0C5
accent
#9A4C82
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #978EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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