#978EA4#978EA4

#978EA4 is a light, muted violet. Relative luminance 0.286; OKLCH L 66.2% C 0.034 H 304.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#978EA4
RGBrgb(151, 142, 164)
HSLhsl(265, 11%, 60%)
HSVhsv(265, 13%, 64%)
CMYKcmyk(7.9%, 13.4%, 0%, 35.7%)
CIE-LABlab(60.43, 7.68, -10.38)
CIE-LCHlch(60.43, 12.91, 306.50°)
OKLaboklab(66.18% 0.0188 -0.0279)
OKLCHoklch(66.18% 0.034 304)
XYZxyz(29.1351, 28.6057, 39.1013)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA4 #9BA48E
analogous
#8E90A4 #978EA4 #A28EA4
triadic
#978EA4 #A4978E #8EA497
tetradic
#978EA4 #A48E90 #9BA48E #8EA4A2
square
#978EA4 #A48E90 #9BA48E #8EA4A2
split-complementary
#978EA4 #A4A28E #90A48E
monochromatic
#5A5266 #786D88 #978EA4 #B6B0BF #D5D2DB

Accessibility & contrast

On white

3.12
#978EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#978EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EA4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EA4#FFFFFF#000000##000000
##978EA41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A5
Deuteranopia (green-blind)
#8C92A3
Tritanopia (blue-blind)
#959195
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978ea4;
/* rgb */ color: rgb(151, 142, 164);
/* oklch */ color: oklch(66.2% 0.034 304.0);
Tailwind
colors: {
  custom: {
    50: '#b5afbf',
    500: '#978ea4',
    950: '#000000',
  },
}
SCSS
$custom: #978ea4;
$custom-light: #b5afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea4",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 264.545,
    "s": 10.784,
    "l": 60
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.03368,
    "h": 304
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#978EA4
secondary
#C8CBC3
accent
#B4749A
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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