#978EB0#978EB0

#978EB0 is a light, muted violet. Relative luminance 0.291; OKLCH L 66.6% C 0.051 H 297.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#978EB0
RGBrgb(151, 142, 176)
HSLhsl(256, 18%, 62%)
HSVhsv(256, 19%, 69%)
CMYKcmyk(14.2%, 19.3%, 0%, 31%)
CIE-LABlab(60.83, 10.27, -16.59)
CIE-LCHlch(60.83, 19.51, 301.76°)
OKLaboklab(66.63% 0.0231 -0.0451)
OKLCHoklch(66.63% 0.051 297.1)
XYZxyz(30.2704, 29.0598, 45.0802)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EB0 #A7B08E
analogous
#8E96B0 #978EB0 #A88EB0
triadic
#978EB0 #B0978E #8EB097
tetradic
#978EB0 #B08E96 #A7B08E #8EB0A8
square
#978EB0 #B08E96 #A7B08E #8EB0A8
split-complementary
#978EB0 #B0A88E #96B08E
monochromatic
#5A5073 #766A97 #978EB0 #B8B2C9 #D9D6E2

Accessibility & contrast

On white

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

On black

6.81
#978EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EB0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EB0#FFFFFF#000000##000000
##978EB01.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8793B2
Deuteranopia (green-blind)
#8892AF
Tritanopia (blue-blind)
#939399
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978eb0;
/* rgb */ color: rgb(151, 142, 176);
/* oklch */ color: oklch(66.6% 0.051 297.1);
Tailwind
colors: {
  custom: {
    50: '#b5afc7',
    500: '#978eb0',
    950: '#000000',
  },
}
SCSS
$custom: #978eb0;
$custom-light: #b5afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#978eb0",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 176
  },
  "hsl": {
    "h": 255.882,
    "s": 17.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.05068,
    "h": 297.1
  },
  "luminance": 0.2906
}

Semantic roles & 50–950 ramp

primary
#978EB0
secondary
#D0D3C7
accent
#9C4A86
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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