#978BC9#978BC9

#978BC9 is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.1% C 0.091 H 292.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#978BC9
RGBrgb(151, 139, 201)
HSLhsl(252, 36%, 67%)
HSVhsv(252, 31%, 79%)
CMYKcmyk(24.9%, 30.8%, 0%, 21.2%)
CIE-LABlab(61.01, 17.82, -30.44)
CIE-LCHlch(61.01, 35.27, 300.34°)
OKLaboklab(67.08% 0.0351 -0.0842)
OKLCHoklch(67.08% 0.091 292.6)
XYZxyz(32.5352, 29.2612, 59.1809)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BC9 #BDC98B
analogous
#8B9EC9 #978BC9 #B68BC9
triadic
#978BC9 #C9978B #8BC997
tetradic
#978BC9 #C98B9E #BDC98B #8BC9B6
square
#978BC9 #C98B9E #BDC98B #8BC9B6
split-complementary
#978BC9 #C9B68B #9EC98B
monochromatic
#544594 #7261B6 #978BC9 #BCB5DC #E2DFF0

Accessibility & contrast

On white

3.06
#978BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#978BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BC9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BC9#FFFFFF#000000##000000
##978BC91.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CC
Deuteranopia (green-blind)
#7C92C7
Tritanopia (blue-blind)
#8D95A1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978bc9;
/* rgb */ color: rgb(151, 139, 201);
/* oklch */ color: oklch(67.1% 0.091 292.6);
Tailwind
colors: {
  custom: {
    50: '#b6add9',
    500: '#978bc9',
    950: '#000000',
  },
}
SCSS
$custom: #978bc9;
$custom-light: #b6add9;
$custom-dark: #000000;
JSON
{
  "hex": "#978bc9",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 201
  },
  "hsl": {
    "h": 251.613,
    "s": 36.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67076,
    "c": 0.09127,
    "h": 292.6
  },
  "luminance": 0.29262
}

Semantic roles & 50–950 ramp

primary
#978BC9
secondary
#DEE2CE
accent
#AF3698
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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