#978EAB#978EAB

#978EAB is a light, muted violet. Relative luminance 0.289; OKLCH L 66.4% C 0.044 H 299.4°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#978EAB
RGBrgb(151, 142, 171)
HSLhsl(259, 15%, 61%)
HSVhsv(259, 17%, 67%)
CMYKcmyk(11.7%, 17%, 0%, 32.9%)
CIE-LABlab(60.66, 9.17, -14.01)
CIE-LCHlch(60.66, 16.75, 303.21°)
OKLaboklab(66.44% 0.0214 -0.0379)
OKLCHoklch(66.44% 0.044 299.4)
XYZxyz(29.7847, 28.8655, 42.5226)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EAB #A2AB8E
analogous
#8E94AB #978EAB #A68EAB
triadic
#978EAB #AB978E #8EAB97
tetradic
#978EAB #AB8E94 #A2AB8E #8EABA6
square
#978EAB #AB8E94 #A2AB8E #8EABA6
split-complementary
#978EAB #ABA68E #94AB8E
monochromatic
#5A516D #776B90 #978EAB #B7B1C5 #D8D4DF

Accessibility & contrast

On white

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

On black

6.77
#978EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EAB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EAB#FFFFFF#000000##000000
##978EAB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8992AC
Deuteranopia (green-blind)
#8A92AA
Tritanopia (blue-blind)
#949298
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978eab;
/* rgb */ color: rgb(151, 142, 171);
/* oklch */ color: oklch(66.4% 0.044 299.4);
Tailwind
colors: {
  custom: {
    50: '#b5afc4',
    500: '#978eab',
    950: '#000000',
  },
}
SCSS
$custom: #978eab;
$custom-light: #b5afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#978eab",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 171
  },
  "hsl": {
    "h": 258.621,
    "s": 14.721,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.04354,
    "h": 299.4
  },
  "luminance": 0.28866
}

Semantic roles & 50–950 ramp

primary
#978EAB
secondary
#CCD0C5
accent
#994D81
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #978EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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