#978FA4#978FA4

#978FA4 is a light, muted violet. Relative luminance 0.289; OKLCH L 66.4% C 0.032 H 302.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#978FA4
RGBrgb(151, 143, 164)
HSLhsl(263, 10%, 60%)
HSVhsv(263, 13%, 64%)
CMYKcmyk(7.9%, 12.8%, 0%, 35.7%)
CIE-LABlab(60.70, 7.11, -9.98)
CIE-LCHlch(60.70, 12.26, 305.47°)
OKLaboklab(66.39% 0.0173 -0.0268)
OKLCHoklch(66.39% 0.032 302.8)
XYZxyz(29.2846, 28.9046, 39.1511)
Luminance0.2890 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA4 #9CA48F
analogous
#8F91A4 #978FA4 #A18FA4
triadic
#978FA4 #A4978F #8FA497
tetradic
#978FA4 #A48F91 #9CA48F #8FA4A1
square
#978FA4 #A48F91 #9CA48F #8FA4A1
split-complementary
#978FA4 #A4A18F #91A48F
monochromatic
#5A5366 #786E88 #978FA4 #B6B1BF #D6D3DB

Accessibility & contrast

On white

3.10
#978FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#978FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA4#FFFFFF#000000##000000
##978FA41.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B92A5
Deuteranopia (green-blind)
#8D92A3
Tritanopia (blue-blind)
#959296
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978fa4;
/* rgb */ color: rgb(151, 143, 164);
/* oklch */ color: oklch(66.4% 0.032 302.8);
Tailwind
colors: {
  custom: {
    50: '#b5afbf',
    500: '#978fa4',
    950: '#000000',
  },
}
SCSS
$custom: #978fa4;
$custom-light: #b5afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa4",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 164
  },
  "hsl": {
    "h": 262.857,
    "s": 10.345,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66386,
    "c": 0.03194,
    "h": 302.8
  },
  "luminance": 0.28905
}

Semantic roles & 50–950 ramp

primary
#978FA4
secondary
#C8CBC3
accent
#94517B
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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