#978EB2#978EB2

#978EB2 is a light, muted violet. Relative luminance 0.291; OKLCH L 66.7% C 0.054 H 296.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#978EB2
RGBrgb(151, 142, 178)
HSLhsl(255, 19%, 63%)
HSVhsv(255, 20%, 70%)
CMYKcmyk(15.2%, 20.2%, 0%, 30.2%)
CIE-LABlab(60.90, 10.71, -17.62)
CIE-LCHlch(60.90, 20.62, 301.31°)
OKLaboklab(66.7% 0.0238 -0.048)
OKLCHoklch(66.7% 0.054 296.4)
XYZxyz(30.4697, 29.1395, 46.1301)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EB2 #A9B28E
analogous
#8E97B2 #978EB2 #A98EB2
triadic
#978EB2 #B2978E #8EB297
tetradic
#978EB2 #B28E97 #A9B28E #8EB2A9
square
#978EB2 #B28E97 #A9B28E #8EB2A9
split-complementary
#978EB2 #B2A98E #97B28E
monochromatic
#595076 #766A99 #978EB2 #B8B2CB #DAD7E4

Accessibility & contrast

On white

3.08
#978EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#978EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EB2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EB2#FFFFFF#000000##000000
##978EB21.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B4
Deuteranopia (green-blind)
#8893B1
Tritanopia (blue-blind)
#92939A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978eb2;
/* rgb */ color: rgb(151, 142, 178);
/* oklch */ color: oklch(66.7% 0.054 296.4);
Tailwind
colors: {
  custom: {
    50: '#b6afc9',
    500: '#978eb2',
    950: '#000000',
  },
}
SCSS
$custom: #978eb2;
$custom-light: #b6afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#978eb2",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 255,
    "s": 18.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.05354,
    "h": 296.4
  },
  "luminance": 0.2914
}

Semantic roles & 50–950 ramp

primary
#978EB2
secondary
#D1D4C7
accent
#9D4888
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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