#978AA2#978AA2

#978AA2 is a light, muted violet. Relative luminance 0.274; OKLCH L 65.3% C 0.038 H 309.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#978AA2
RGBrgb(151, 138, 162)
HSLhsl(273, 11%, 59%)
HSVhsv(273, 15%, 64%)
CMYKcmyk(6.8%, 14.8%, 0%, 36.5%)
CIE-LABlab(59.31, 9.54, -10.92)
CIE-LCHlch(59.31, 14.50, 311.15°)
OKLaboklab(65.29% 0.0243 -0.0294)
OKLCHoklch(65.29% 0.038 309.5)
XYZxyz(28.3714, 27.3650, 37.9627)
Luminance0.2737 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978AA2 #95A28A
analogous
#8B8AA2 #978AA2 #A28AA1
triadic
#978AA2 #A2978A #8AA297
tetradic
#978AA2 #A28B8A #95A28A #8AA1A2
square
#978AA2 #A28B8A #95A28A #8AA1A2
split-complementary
#978AA2 #A1A28A #8AA28B
monochromatic
#5A4F63 #796A85 #978AA2 #B5ACBD #D4CED8

Accessibility & contrast

On white

3.24
#978AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#978AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978AA2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978AA2#FFFFFF#000000##000000
##978AA21.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#968D92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #978aa2;
/* rgb */ color: rgb(151, 138, 162);
/* oklch */ color: oklch(65.3% 0.038 309.5);
Tailwind
colors: {
  custom: {
    50: '#b5acbd',
    500: '#978aa2',
    950: '#000000',
  },
}
SCSS
$custom: #978aa2;
$custom-light: #b5acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#978aa2",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 162
  },
  "hsl": {
    "h": 272.5,
    "s": 11.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65285,
    "c": 0.0381,
    "h": 309.5
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#978AA2
secondary
#C4C9BF
accent
#B47391
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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