#978EAA#978EAA

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

Color values

HEX#978EAA
RGBrgb(151, 142, 170)
HSLhsl(259, 14%, 61%)
HSVhsv(259, 16%, 67%)
CMYKcmyk(11.2%, 16.5%, 0%, 33.3%)
CIE-LABlab(60.63, 8.96, -13.50)
CIE-LCHlch(60.63, 16.20, 303.57°)
OKLaboklab(66.4% 0.021 -0.0365)
OKLCHoklch(66.4% 0.042 299.9)
XYZxyz(29.6898, 28.8275, 42.0226)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EAA #A1AA8E
analogous
#8E93AA #978EAA #A58EAA
triadic
#978EAA #AA978E #8EAA97
tetradic
#978EAA #AA8E93 #A1AA8E #8EAAA5
square
#978EAA #AA8E93 #A1AA8E #8EAAA5
split-complementary
#978EAA #AAA58E #93AA8E
monochromatic
#5A516C #776C8F #978EAA #B7B1C4 #D7D4DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978EAA#FFFFFF#000000##000000
##978EAA1.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)
#8992AB
Deuteranopia (green-blind)
#8A92A9
Tritanopia (blue-blind)
#949297
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978eaa;
/* rgb */ color: rgb(151, 142, 170);
/* oklch */ color: oklch(66.4% 0.042 299.9);
Tailwind
colors: {
  custom: {
    50: '#b5afc3',
    500: '#978eaa',
    950: '#000000',
  },
}
SCSS
$custom: #978eaa;
$custom-light: #b5afc3;
$custom-dark: #000000;
JSON
{
  "hex": "#978eaa",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 259.286,
    "s": 14.141,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66398,
    "c": 0.04212,
    "h": 299.9
  },
  "luminance": 0.28828
}

Semantic roles & 50–950 ramp

primary
#978EAA
secondary
#CCCFC5
accent
#984D80
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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