#978EA7#978EA7

#978EA7 is a light, muted violet. Relative luminance 0.287; OKLCH L 66.3% C 0.038 H 301.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#978EA7
RGBrgb(151, 142, 167)
HSLhsl(262, 12%, 61%)
HSVhsv(262, 15%, 65%)
CMYKcmyk(9.6%, 15%, 0%, 34.5%)
CIE-LABlab(60.53, 8.31, -11.94)
CIE-LCHlch(60.53, 14.55, 304.85°)
OKLaboklab(66.29% 0.0199 -0.0322)
OKLCHoklch(66.29% 0.038 301.8)
XYZxyz(29.4092, 28.7153, 40.5450)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA7 #9EA78E
analogous
#8E91A7 #978EA7 #A38EA7
triadic
#978EA7 #A7978E #8EA797
tetradic
#978EA7 #A78E91 #9EA78E #8EA7A3
square
#978EA7 #A78E91 #9EA78E #8EA7A3
split-complementary
#978EA7 #A7A38E #91A78E
monochromatic
#5A5269 #786C8B #978EA7 #B7B0C2 #D6D3DD

Accessibility & contrast

On white

3.11
#978EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#978EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EA7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EA7#FFFFFF#000000##000000
##978EA71.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A8
Deuteranopia (green-blind)
#8B92A6
Tritanopia (blue-blind)
#959196
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978ea7;
/* rgb */ color: rgb(151, 142, 167);
/* oklch */ color: oklch(66.3% 0.038 301.8);
Tailwind
colors: {
  custom: {
    50: '#b5afc1',
    500: '#978ea7',
    950: '#000000',
  },
}
SCSS
$custom: #978ea7;
$custom-light: #b5afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea7",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 261.6,
    "s": 12.438,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66288,
    "c": 0.03788,
    "h": 301.8
  },
  "luminance": 0.28715
}

Semantic roles & 50–950 ramp

primary
#978EA7
secondary
#CACDC4
accent
#974F7D
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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