#978DB2#978DB2

#978DB2 is a light, muted violet. Relative luminance 0.288; OKLCH L 66.5% C 0.055 H 297.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#978DB2
RGBrgb(151, 141, 178)
HSLhsl(256, 19%, 63%)
HSVhsv(256, 21%, 70%)
CMYKcmyk(15.2%, 20.8%, 0%, 30.2%)
CIE-LABlab(60.64, 11.29, -18.02)
CIE-LCHlch(60.64, 21.26, 302.07°)
OKLaboklab(66.5% 0.0253 -0.0491)
OKLCHoklch(66.5% 0.055 297.3)
XYZxyz(30.3216, 28.8433, 46.0807)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DB2 #A8B28D
analogous
#8D95B2 #978DB2 #A98DB2
triadic
#978DB2 #B2978D #8DB297
tetradic
#978DB2 #B28D95 #A8B28D #8DB2A9
square
#978DB2 #B28D95 #A8B28D #8DB2A9
split-complementary
#978DB2 #B2A98D #95B28D
monochromatic
#5A4F75 #766899 #978DB2 #B8B2CB #DAD6E3

Accessibility & contrast

On white

3.10
#978DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#978DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DB2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DB2#FFFFFF#000000##000000
##978DB21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#8792B1
Tritanopia (blue-blind)
#92929A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978db2;
/* rgb */ color: rgb(151, 141, 178);
/* oklch */ color: oklch(66.5% 0.055 297.3);
Tailwind
colors: {
  custom: {
    50: '#b6aec9',
    500: '#978db2',
    950: '#000000',
  },
}
SCSS
$custom: #978db2;
$custom-light: #b6aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#978db2",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 256.216,
    "s": 19.372,
    "l": 62.549
  },
  "oklch": {
    "l": 0.665,
    "c": 0.0552,
    "h": 297.3
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#978DB2
secondary
#D0D4C7
accent
#9E4886
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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