#978BB0#978BB0

#978BB0 is a light, muted violet. Relative luminance 0.282; OKLCH L 66.0% C 0.056 H 299.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#978BB0
RGBrgb(151, 139, 176)
HSLhsl(259, 19%, 62%)
HSVhsv(259, 21%, 69%)
CMYKcmyk(14.2%, 21%, 0%, 31%)
CIE-LABlab(60.05, 11.99, -17.78)
CIE-LCHlch(60.05, 21.44, 303.98°)
OKLaboklab(66.02% 0.0276 -0.0484)
OKLCHoklch(66.02% 0.056 299.7)
XYZxyz(29.8300, 28.1791, 44.9335)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB0 #A4B08B
analogous
#8B92B0 #978BB0 #AA8BB0
triadic
#978BB0 #B0978B #8BB097
tetradic
#978BB0 #B08B92 #A4B08B #8BB0AA
square
#978BB0 #B08B92 #A4B08B #8BB0AA
split-complementary
#978BB0 #B0AA8B #92B08B
monochromatic
#5A4E73 #766797 #978BB0 #B8AFC9 #D8D4E2

Accessibility & contrast

On white

3.16
#978BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#978BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB0#FFFFFF#000000##000000
##978BB01.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B2
Deuteranopia (green-blind)
#8690AF
Tritanopia (blue-blind)
#939098
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978bb0;
/* rgb */ color: rgb(151, 139, 176);
/* oklch */ color: oklch(66.0% 0.056 299.7);
Tailwind
colors: {
  custom: {
    50: '#b6acc7',
    500: '#978bb0',
    950: '#000000',
  },
}
SCSS
$custom: #978bb0;
$custom-light: #b6acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb0",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 176
  },
  "hsl": {
    "h": 259.459,
    "s": 18.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66017,
    "c": 0.05573,
    "h": 299.7
  },
  "luminance": 0.28179
}

Semantic roles & 50–950 ramp

primary
#978BB0
secondary
#CED2C5
accent
#9D4882
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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