#978CA2#978CA2

#978CA2 is a light, muted violet. Relative luminance 0.279; OKLCH L 65.7% C 0.034 H 307.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#978CA2
RGBrgb(151, 140, 162)
HSLhsl(270, 11%, 59%)
HSVhsv(270, 14%, 64%)
CMYKcmyk(6.8%, 13.6%, 0%, 36.5%)
CIE-LABlab(59.84, 8.40, -10.13)
CIE-LCHlch(59.84, 13.16, 309.67°)
OKLaboklab(65.7% 0.0212 -0.0272)
OKLCHoklch(65.7% 0.034 307.9)
XYZxyz(28.6610, 27.9442, 38.0593)
Luminance0.2794 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CA2 #97A28C
analogous
#8C8CA2 #978CA2 #A28CA2
triadic
#978CA2 #A2978C #8CA297
tetradic
#978CA2 #A28C8C #97A28C #8CA2A2
square
#978CA2 #A28C8C #97A28C #8CA2A2
split-complementary
#978CA2 #A2A28C #8CA28C
monochromatic
#5A5063 #786C85 #978CA2 #B6AEBD #D4D0D9

Accessibility & contrast

On white

3.19
#978CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#978CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CA2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CA2#FFFFFF#000000##000000
##978CA21.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A3
Deuteranopia (green-blind)
#8B90A1
Tritanopia (blue-blind)
#968F93
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #978ca2;
/* rgb */ color: rgb(151, 140, 162);
/* oklch */ color: oklch(65.7% 0.034 307.9);
Tailwind
colors: {
  custom: {
    50: '#b5adbd',
    500: '#978ca2',
    950: '#000000',
  },
}
SCSS
$custom: #978ca2;
$custom-light: #b5adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#978ca2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 270,
    "s": 10.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.03449,
    "h": 307.9
  },
  "luminance": 0.27944
}

Semantic roles & 50–950 ramp

primary
#978CA2
secondary
#C5C9C1
accent
#B47494
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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