#978CA6#978CA6

#978CA6 is a light, muted violet. Relative luminance 0.281; OKLCH L 65.8% C 0.040 H 304.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#978CA6
RGBrgb(151, 140, 166)
HSLhsl(265, 13%, 60%)
HSVhsv(265, 16%, 65%)
CMYKcmyk(9%, 15.7%, 0%, 34.9%)
CIE-LABlab(59.97, 9.24, -12.21)
CIE-LCHlch(59.97, 15.32, 307.11°)
OKLaboklab(65.84% 0.0226 -0.0329)
OKLCHoklch(65.84% 0.04 304.5)
XYZxyz(29.0223, 28.0887, 39.9617)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CA6 #9BA68C
analogous
#8C8EA6 #978CA6 #A48CA6
triadic
#978CA6 #A6978C #8CA697
tetradic
#978CA6 #A68C8E #9BA68C #8CA6A4
square
#978CA6 #A68C8E #9BA68C #8CA6A4
split-complementary
#978CA6 #A6A48C #8EA68C
monochromatic
#5A5067 #786B8A #978CA6 #B6AFC1 #D5D1DB

Accessibility & contrast

On white

3.17
#978CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#978CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CA6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CA6#FFFFFF#000000##000000
##978CA61.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A7
Deuteranopia (green-blind)
#8A91A5
Tritanopia (blue-blind)
#958F95
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #978ca6;
/* rgb */ color: rgb(151, 140, 166);
/* oklch */ color: oklch(65.8% 0.040 304.5);
Tailwind
colors: {
  custom: {
    50: '#b5adc0',
    500: '#978ca6',
    950: '#000000',
  },
}
SCSS
$custom: #978ca6;
$custom-light: #b5adc0;
$custom-dark: #000000;
JSON
{
  "hex": "#978ca6",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 166
  },
  "hsl": {
    "h": 265.385,
    "s": 12.745,
    "l": 60
  },
  "oklch": {
    "l": 0.6584,
    "c": 0.03997,
    "h": 304.5
  },
  "luminance": 0.28089
}

Semantic roles & 50–950 ramp

primary
#978CA6
secondary
#C8CCC2
accent
#B67299
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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