#978EAD#978EAD

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

Color values

HEX#978EAD
RGBrgb(151, 142, 173)
HSLhsl(257, 16%, 62%)
HSVhsv(257, 18%, 68%)
CMYKcmyk(12.7%, 17.9%, 0%, 32.2%)
CIE-LABlab(60.73, 9.61, -15.05)
CIE-LCHlch(60.73, 17.85, 302.56°)
OKLaboklab(66.51% 0.0221 -0.0408)
OKLCHoklch(66.51% 0.046 298.4)
XYZxyz(29.9768, 28.9424, 43.5342)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EAD #A4AD8E
analogous
#8E95AD #978EAD #A78EAD
triadic
#978EAD #AD978E #8EAD97
tetradic
#978EAD #AD8E95 #A4AD8E #8EADA7
square
#978EAD #AD8E95 #A4AD8E #8EADA7
split-complementary
#978EAD #ADA78E #95AD8E
monochromatic
#5A5170 #766B93 #978EAD #B8B1C7 #D8D5E0

Accessibility & contrast

On white

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

On black

6.79
#978EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EAD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EAD#FFFFFF#000000##000000
##978EAD1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AE
Deuteranopia (green-blind)
#8992AC
Tritanopia (blue-blind)
#939298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978ead;
/* rgb */ color: rgb(151, 142, 173);
/* oklch */ color: oklch(66.5% 0.046 298.4);
Tailwind
colors: {
  custom: {
    50: '#b5afc5',
    500: '#978ead',
    950: '#000000',
  },
}
SCSS
$custom: #978ead;
$custom-light: #b5afc5;
$custom-dark: #000000;
JSON
{
  "hex": "#978ead",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 173
  },
  "hsl": {
    "h": 257.419,
    "s": 15.897,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.04639,
    "h": 298.4
  },
  "luminance": 0.28942
}

Semantic roles & 50–950 ramp

primary
#978EAD
secondary
#CED1C6
accent
#9A4B83
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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