#978BC3#978BC3

#978BC3 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.8% C 0.083 H 293.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#978BC3
RGBrgb(151, 139, 195)
HSLhsl(253, 32%, 65%)
HSVhsv(253, 29%, 76%)
CMYKcmyk(22.6%, 28.7%, 0%, 23.5%)
CIE-LABlab(60.77, 16.37, -27.44)
CIE-LCHlch(60.77, 31.95, 300.82°)
OKLaboklab(66.81% 0.0335 -0.0757)
OKLCHoklch(66.81% 0.083 293.9)
XYZxyz(31.8432, 28.9843, 55.5361)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BC3 #B7C38B
analogous
#8B9BC3 #978BC3 #B38BC3
triadic
#978BC3 #C3978B #8BC397
tetradic
#978BC3 #C38B9B #B7C38B #8BC3B3
square
#978BC3 #C38B9B #B7C38B #8BC3B3
split-complementary
#978BC3 #C3B38B #9BC38B
monochromatic
#57488B #7363AE #978BC3 #BBB3D8 #DFDCED

Accessibility & contrast

On white

3.09
#978BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#978BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BC3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BC3#FFFFFF#000000##000000
##978BC31.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C5
Deuteranopia (green-blind)
#7F92C1
Tritanopia (blue-blind)
#8E949F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978bc3;
/* rgb */ color: rgb(151, 139, 195);
/* oklch */ color: oklch(66.8% 0.083 293.9);
Tailwind
colors: {
  custom: {
    50: '#b6add5',
    500: '#978bc3',
    950: '#000000',
  },
}
SCSS
$custom: #978bc3;
$custom-light: #b6add5;
$custom-dark: #000000;
JSON
{
  "hex": "#978bc3",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 195
  },
  "hsl": {
    "h": 252.857,
    "s": 31.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66809,
    "c": 0.08274,
    "h": 293.9
  },
  "luminance": 0.28985
}

Semantic roles & 50–950 ramp

primary
#978BC3
secondary
#DADECC
accent
#AB3B93
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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