#978EA1#978EA1

#978EA1 is a light, muted violet. Relative luminance 0.285; OKLCH L 66.1% C 0.030 H 306.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#978EA1
RGBrgb(151, 142, 161)
HSLhsl(268, 9%, 59%)
HSVhsv(268, 12%, 63%)
CMYKcmyk(6.2%, 11.8%, 0%, 36.9%)
CIE-LABlab(60.34, 7.06, -8.81)
CIE-LCHlch(60.34, 11.29, 308.68°)
OKLaboklab(66.07% 0.0177 -0.0236)
OKLCHoklch(66.07% 0.03 306.9)
XYZxyz(28.8674, 28.4986, 37.6913)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA1 #98A18E
analogous
#8E8FA1 #978EA1 #A18EA1
triadic
#978EA1 #A1978E #8EA197
tetradic
#978EA1 #A18E8F #98A18E #8EA1A1
square
#978EA1 #A18E8F #98A18E #8EA1A1
split-complementary
#978EA1 #A1A18E #8FA18E
monochromatic
#5A5263 #786E84 #978EA1 #B6AFBD #D4D1D9

Accessibility & contrast

On white

3.13
#978EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#978EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EA1
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EA1#FFFFFF#000000##000000
##978EA11.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A2
Deuteranopia (green-blind)
#8D92A0
Tritanopia (blue-blind)
#969094
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978ea1;
/* rgb */ color: rgb(151, 142, 161);
/* oklch */ color: oklch(66.1% 0.030 306.9);
Tailwind
colors: {
  custom: {
    50: '#b5afbc',
    500: '#978ea1',
    950: '#000000',
  },
}
SCSS
$custom: #978ea1;
$custom-light: #b5afbc;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea1",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 161
  },
  "hsl": {
    "h": 268.421,
    "s": 9.179,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66073,
    "c": 0.02955,
    "h": 306.9
  },
  "luminance": 0.28499
}

Semantic roles & 50–950 ramp

primary
#978EA1
secondary
#C6C9C2
accent
#B27695
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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