#978BB3#978BB3

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

Color values

HEX#978BB3
RGBrgb(151, 139, 179)
HSLhsl(258, 21%, 62%)
HSVhsv(258, 22%, 70%)
CMYKcmyk(15.6%, 22.3%, 0%, 29.8%)
CIE-LABlab(60.16, 12.66, -19.32)
CIE-LCHlch(60.16, 23.10, 303.23°)
OKLaboklab(66.14% 0.0286 -0.0527)
OKLCHoklch(66.14% 0.06 298.5)
XYZxyz(30.1301, 28.2991, 46.5140)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BB3 #A7B38B
analogous
#8B93B3 #978BB3 #AB8BB3
triadic
#978BB3 #B3978B #8BB397
tetradic
#978BB3 #B38B93 #A7B38B #8BB3AB
square
#978BB3 #B38B93 #A7B38B #8BB3AB
split-complementary
#978BB3 #B3AB8B #93B38B
monochromatic
#5A4D76 #76669B #978BB3 #B8B0CB #D9D5E3

Accessibility & contrast

On white

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

On black

6.66
#978BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BB3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BB3#FFFFFF#000000##000000
##978BB31.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B5
Deuteranopia (green-blind)
#8591B2
Tritanopia (blue-blind)
#929199
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978bb3;
/* rgb */ color: rgb(151, 139, 179);
/* oklch */ color: oklch(66.1% 0.060 298.5);
Tailwind
colors: {
  custom: {
    50: '#b6acc9',
    500: '#978bb3',
    950: '#000000',
  },
}
SCSS
$custom: #978bb3;
$custom-light: #b6acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bb3",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 258,
    "s": 20.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.05997,
    "h": 298.5
  },
  "luminance": 0.28299
}

Semantic roles & 50–950 ramp

primary
#978BB3
secondary
#D0D4C6
accent
#9F4685
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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