#978FAC#978FAC

#978FAC is a light, muted violet. Relative luminance 0.292; OKLCH L 66.7% C 0.043 H 297.8°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#978FAC
RGBrgb(151, 143, 172)
HSLhsl(257, 15%, 62%)
HSVhsv(257, 17%, 67%)
CMYKcmyk(12.2%, 16.9%, 0%, 32.5%)
CIE-LABlab(60.96, 8.82, -14.13)
CIE-LCHlch(60.96, 16.66, 301.97°)
OKLaboklab(66.68% 0.0202 -0.0383)
OKLCHoklch(66.68% 0.043 297.8)
XYZxyz(30.0299, 29.2027, 43.0764)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FAC #A4AC8F
analogous
#8F96AC #978FAC #A68FAC
triadic
#978FAC #AC978F #8FAC97
tetradic
#978FAC #AC8F96 #A4AC8F #8FACA6
square
#978FAC #AC8F96 #A4AC8F #8FACA6
split-complementary
#978FAC #ACA68F #96AC8F
monochromatic
#5A526F #766C92 #978FAC #B8B2C6 #D8D5E0

Accessibility & contrast

On white

3.07
#978FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#978FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FAC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FAC#FFFFFF#000000##000000
##978FAC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8993AD
Deuteranopia (green-blind)
#8A93AB
Tritanopia (blue-blind)
#939399
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978fac;
/* rgb */ color: rgb(151, 143, 172);
/* oklch */ color: oklch(66.7% 0.043 297.8);
Tailwind
colors: {
  custom: {
    50: '#b5afc4',
    500: '#978fac',
    950: '#000000',
  },
}
SCSS
$custom: #978fac;
$custom-light: #b5afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#978fac",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 256.552,
    "s": 14.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.04328,
    "h": 297.8
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

primary
#978FAC
secondary
#CED1C6
accent
#994C84
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #978FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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