#978EA2#978EA2

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

Color values

HEX#978EA2
RGBrgb(151, 142, 162)
HSLhsl(267, 10%, 60%)
HSVhsv(267, 12%, 64%)
CMYKcmyk(6.8%, 12.3%, 0%, 36.5%)
CIE-LABlab(60.37, 7.26, -9.34)
CIE-LCHlch(60.37, 11.83, 307.88°)
OKLaboklab(66.11% 0.0181 -0.0251)
OKLCHoklch(66.11% 0.031 305.8)
XYZxyz(28.9559, 28.5340, 38.1576)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA2 #99A28E
analogous
#8E8FA2 #978EA2 #A18EA2
triadic
#978EA2 #A2978E #8EA297
tetradic
#978EA2 #A28E8F #99A28E #8EA2A1
square
#978EA2 #A28E8F #99A28E #8EA2A1
split-complementary
#978EA2 #A2A18E #8FA28E
monochromatic
#5A5264 #786E85 #978EA2 #B6B0BE #D5D1D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978EA2#FFFFFF#000000##000000
##978EA21.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)
#8B91A3
Deuteranopia (green-blind)
#8C92A1
Tritanopia (blue-blind)
#969094
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978ea2;
/* rgb */ color: rgb(151, 142, 162);
/* oklch */ color: oklch(66.1% 0.031 305.8);
Tailwind
colors: {
  custom: {
    50: '#b5afbd',
    500: '#978ea2',
    950: '#000000',
  },
}
SCSS
$custom: #978ea2;
$custom-light: #b5afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea2",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 267,
    "s": 9.709,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66108,
    "c": 0.03092,
    "h": 305.8
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#978EA2
secondary
#C6CAC2
accent
#B37597
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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