#978BB2#978BB2

#978BB2 is a light, muted violet. Relative luminance 0.283; OKLCH L 66.1% C 0.059 H 298.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#978BB2
RGBrgb(151, 139, 178)
HSLhsl(258, 20%, 62%)
HSVhsv(258, 22%, 70%)
CMYKcmyk(15.2%, 21.9%, 0%, 30.2%)
CIE-LABlab(60.12, 12.43, -18.81)
CIE-LCHlch(60.12, 22.55, 303.46°)
OKLaboklab(66.1% 0.0283 -0.0513)
OKLCHoklch(66.1% 0.059 298.9)
XYZxyz(30.0293, 28.2588, 45.9833)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB2 #A6B28B
analogous
#8B93B2 #978BB2 #AB8BB2
triadic
#978BB2 #B2978B #8BB297
tetradic
#978BB2 #B28B93 #A6B28B #8BB2AB
square
#978BB2 #B28B93 #A6B28B #8BB2AB
split-complementary
#978BB2 #B2AB8B #93B28B
monochromatic
#5A4E75 #76669A #978BB2 #B8B0CA #D9D5E3

Accessibility & contrast

On white

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

On black

6.65
#978BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB2#FFFFFF#000000##000000
##978BB21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#8591B1
Tritanopia (blue-blind)
#929198
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978bb2;
/* rgb */ color: rgb(151, 139, 178);
/* oklch */ color: oklch(66.1% 0.059 298.9);
Tailwind
colors: {
  custom: {
    50: '#b6acc9',
    500: '#978bb2',
    950: '#000000',
  },
}
SCSS
$custom: #978bb2;
$custom-light: #b6acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb2",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 258.462,
    "s": 20.207,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66096,
    "c": 0.05855,
    "h": 298.9
  },
  "luminance": 0.28259
}

Semantic roles & 50–950 ramp

primary
#978BB2
secondary
#CFD4C5
accent
#9F4784
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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