#978BB9#978BB9

#978BB9 is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.4% C 0.069 H 296.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#978BB9
RGBrgb(151, 139, 185)
HSLhsl(256, 25%, 64%)
HSVhsv(256, 25%, 73%)
CMYKcmyk(18.4%, 24.9%, 0%, 27.5%)
CIE-LABlab(60.38, 14.02, -22.38)
CIE-LCHlch(60.38, 26.41, 302.07°)
OKLaboklab(66.38% 0.0305 -0.0613)
OKLCHoklch(66.38% 0.069 296.4)
XYZxyz(30.7502, 28.5471, 49.7797)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB9 #ADB98B
analogous
#8B96B9 #978BB9 #AE8BB9
triadic
#978BB9 #B9978B #8BB997
tetradic
#978BB9 #B98B96 #ADB98B #8BB9AE
square
#978BB9 #B98B96 #ADB98B #8BB9AE
split-complementary
#978BB9 #B9AE8B #96B98B
monochromatic
#594C7E #7565A2 #978BB9 #B9B1D0 #DBD7E7

Accessibility & contrast

On white

3.13
#978BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#978BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB9#FFFFFF#000000##000000
##978BB91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8192BB
Deuteranopia (green-blind)
#8391B8
Tritanopia (blue-blind)
#91929B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bb9;
/* rgb */ color: rgb(151, 139, 185);
/* oklch */ color: oklch(66.4% 0.069 296.4);
Tailwind
colors: {
  custom: {
    50: '#b6acce',
    500: '#978bb9',
    950: '#000000',
  },
}
SCSS
$custom: #978bb9;
$custom-light: #b6acce;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb9",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 185
  },
  "hsl": {
    "h": 255.652,
    "s": 24.731,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.0685,
    "h": 296.4
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#978BB9
secondary
#D4D8C8
accent
#A3428A
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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