#978EA3#978EA3

#978EA3 is a light, muted violet. Relative luminance 0.286; OKLCH L 66.1% C 0.032 H 304.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#978EA3
RGBrgb(151, 142, 163)
HSLhsl(266, 10%, 60%)
HSVhsv(266, 13%, 64%)
CMYKcmyk(7.4%, 12.9%, 0%, 36.1%)
CIE-LABlab(60.40, 7.47, -9.86)
CIE-LCHlch(60.40, 12.37, 307.16°)
OKLaboklab(66.14% 0.0185 -0.0265)
OKLCHoklch(66.14% 0.032 304.9)
XYZxyz(29.0452, 28.5697, 38.6276)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA3 #9AA38E
analogous
#8E90A3 #978EA3 #A28EA3
triadic
#978EA3 #A3978E #8EA397
tetradic
#978EA3 #A38E90 #9AA38E #8EA3A2
square
#978EA3 #A38E90 #9AA38E #8EA3A2
split-complementary
#978EA3 #A3A28E #90A38E
monochromatic
#5A5265 #786D86 #978EA3 #B6B0BE #D5D1DA

Accessibility & contrast

On white

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

On black

6.71
#978EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EA3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EA3#FFFFFF#000000##000000
##978EA31.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978ea3;
/* rgb */ color: rgb(151, 142, 163);
/* oklch */ color: oklch(66.1% 0.032 304.9);
Tailwind
colors: {
  custom: {
    50: '#b5afbe',
    500: '#978ea3',
    950: '#000000',
  },
}
SCSS
$custom: #978ea3;
$custom-light: #b5afbe;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea3",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 163
  },
  "hsl": {
    "h": 265.714,
    "s": 10.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.0323,
    "h": 304.9
  },
  "luminance": 0.2857
}

Semantic roles & 50–950 ramp

primary
#978EA3
secondary
#C7CAC2
accent
#B37598
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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