#978AAA#978AAA

#978AAA is a light, muted violet. Relative luminance 0.277; OKLCH L 65.6% C 0.049 H 303.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#978AAA
RGBrgb(151, 138, 170)
HSLhsl(264, 16%, 60%)
HSVhsv(264, 19%, 67%)
CMYKcmyk(11.2%, 18.8%, 0%, 33.3%)
CIE-LABlab(59.58, 11.24, -15.08)
CIE-LCHlch(59.58, 18.81, 306.70°)
OKLaboklab(65.58% 0.0271 -0.0409)
OKLCHoklch(65.58% 0.049 303.5)
XYZxyz(29.1053, 27.6586, 41.8277)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AAA #9DAA8A
analogous
#8A8DAA #978AAA #A78AAA
triadic
#978AAA #AA978A #8AAA97
tetradic
#978AAA #AA8A8D #9DAA8A #8AAAA7
square
#978AAA #AA8A8D #9DAA8A #8AAAA7
split-complementary
#978AAA #AAA78A #8DAA8A
monochromatic
#5A4E6C #78688F #978AAA #B7ADC4 #D6D1DE

Accessibility & contrast

On white

3.22
#978AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#978AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978AAA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AAA#FFFFFF#000000##000000
##978AAA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#848FAB
Deuteranopia (green-blind)
#878FA9
Tritanopia (blue-blind)
#948E95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #978aaa;
/* rgb */ color: rgb(151, 138, 170);
/* oklch */ color: oklch(65.6% 0.049 303.5);
Tailwind
colors: {
  custom: {
    50: '#b5acc3',
    500: '#978aaa',
    950: '#000000',
  },
}
SCSS
$custom: #978aaa;
$custom-light: #b5acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#978aaa",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 264.375,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65582,
    "c": 0.04904,
    "h": 303.5
  },
  "luminance": 0.27659
}

Semantic roles & 50–950 ramp

primary
#978AAA
secondary
#C9CEC2
accent
#9A4B7A
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111012
muted
#807F81

Preview Lab

Preview with #978AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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