#978BA2#978BA2

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

Color values

HEX#978BA2
RGBrgb(151, 139, 162)
HSLhsl(271, 11%, 59%)
HSVhsv(271, 14%, 64%)
CMYKcmyk(6.8%, 14.2%, 0%, 36.5%)
CIE-LABlab(59.57, 8.97, -10.52)
CIE-LCHlch(59.57, 13.83, 310.45°)
OKLaboklab(65.49% 0.0227 -0.0283)
OKLCHoklch(65.49% 0.036 308.8)
XYZxyz(28.5156, 27.6533, 38.0108)
Luminance0.2765 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BA2 #96A28B
analogous
#8C8BA2 #978BA2 #A28BA2
triadic
#978BA2 #A2978B #8BA297
tetradic
#978BA2 #A28C8B #96A28B #8BA2A2
square
#978BA2 #A28C8B #96A28B #8BA2A2
split-complementary
#978BA2 #A2A28B #8BA28C
monochromatic
#5A4F63 #786B85 #978BA2 #B5ADBD #D4CFD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978BA2#FFFFFF#000000##000000
##978BA21.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)
#888FA3
Deuteranopia (green-blind)
#8A90A1
Tritanopia (blue-blind)
#968E93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #978ba2;
/* rgb */ color: rgb(151, 139, 162);
/* oklch */ color: oklch(65.5% 0.036 308.8);
Tailwind
colors: {
  custom: {
    50: '#b5acbd',
    500: '#978ba2',
    950: '#000000',
  },
}
SCSS
$custom: #978ba2;
$custom-light: #b5acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#978ba2",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 271.304,
    "s": 11.005,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6549,
    "c": 0.03629,
    "h": 308.8
  },
  "luminance": 0.27653
}

Semantic roles & 50–950 ramp

primary
#978BA2
secondary
#C4C9C0
accent
#B47493
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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