#978BB4#978BB4

#978BB4 is a light, moderate violet. Relative luminance 0.283; OKLCH L 66.2% C 0.061 H 298.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#978BB4
RGBrgb(151, 139, 180)
HSLhsl(258, 21%, 63%)
HSVhsv(258, 23%, 71%)
CMYKcmyk(16.1%, 22.8%, 0%, 29.4%)
CIE-LABlab(60.19, 12.88, -19.83)
CIE-LCHlch(60.19, 23.65, 303.01°)
OKLaboklab(66.18% 0.0289 -0.0541)
OKLCHoklch(66.18% 0.061 298.1)
XYZxyz(30.2316, 28.3397, 47.0486)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB4 #A8B48B
analogous
#8B93B4 #978BB4 #AB8BB4
triadic
#978BB4 #B4978B #8BB497
tetradic
#978BB4 #B48B93 #A8B48B #8BB4AB
square
#978BB4 #B48B93 #A8B48B #8BB4AB
split-complementary
#978BB4 #B4AB8B #93B48B
monochromatic
#5A4D77 #76669C #978BB4 #B8B0CC #DAD5E4

Accessibility & contrast

On white

3.15
#978BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#978BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB4#FFFFFF#000000##000000
##978BB41.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B6
Deuteranopia (green-blind)
#8491B3
Tritanopia (blue-blind)
#929199
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978bb4;
/* rgb */ color: rgb(151, 139, 180);
/* oklch */ color: oklch(66.2% 0.061 298.1);
Tailwind
colors: {
  custom: {
    50: '#b6acca',
    500: '#978bb4',
    950: '#000000',
  },
}
SCSS
$custom: #978bb4;
$custom-light: #b6acca;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb4",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 257.561,
    "s": 21.466,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66177,
    "c": 0.06139,
    "h": 298.1
  },
  "luminance": 0.2834
}

Semantic roles & 50–950 ramp

primary
#978BB4
secondary
#D0D5C6
accent
#A04685
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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