#978BB7#978BB7

#978BB7 is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.3% C 0.066 H 297.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#978BB7
RGBrgb(151, 139, 183)
HSLhsl(256, 23%, 63%)
HSVhsv(256, 24%, 72%)
CMYKcmyk(17.5%, 24%, 0%, 28.2%)
CIE-LABlab(60.30, 13.56, -21.37)
CIE-LCHlch(60.30, 25.31, 302.41°)
OKLaboklab(66.3% 0.0299 -0.0585)
OKLCHoklch(66.3% 0.066 297.1)
XYZxyz(30.5405, 28.4633, 48.6755)
Luminance0.2846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB7 #ABB78B
analogous
#8B95B7 #978BB7 #AD8BB7
triadic
#978BB7 #B7978B #8BB797
tetradic
#978BB7 #B78B95 #ABB78B #8BB7AD
square
#978BB7 #B78B95 #ABB78B #8BB7AD
split-complementary
#978BB7 #B7AD8B #95B78B
monochromatic
#594C7B #7565A0 #978BB7 #B9B1CE #DBD7E6

Accessibility & contrast

On white

3.14
#978BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#978BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB7#FFFFFF#000000##000000
##978BB71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8292B9
Deuteranopia (green-blind)
#8391B6
Tritanopia (blue-blind)
#91929A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978bb7;
/* rgb */ color: rgb(151, 139, 183);
/* oklch */ color: oklch(66.3% 0.066 297.1);
Tailwind
colors: {
  custom: {
    50: '#b6accc',
    500: '#978bb7',
    950: '#000000',
  },
}
SCSS
$custom: #978bb7;
$custom-light: #b6accc;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb7",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 256.364,
    "s": 23.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66299,
    "c": 0.06566,
    "h": 297.1
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#978BB7
secondary
#D2D7C7
accent
#A24488
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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