#978CC2#978CC2

#978CC2 is a light, moderate violet. Relative luminance 0.292; OKLCH L 67.0% C 0.080 H 293.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#978CC2
RGBrgb(151, 140, 194)
HSLhsl(252, 31%, 65%)
HSVhsv(252, 28%, 76%)
CMYKcmyk(22.2%, 27.8%, 0%, 23.9%)
CIE-LABlab(60.98, 15.56, -26.54)
CIE-LCHlch(60.98, 30.76, 300.38°)
OKLaboklab(66.96% 0.0318 -0.0731)
OKLCHoklch(66.96% 0.08 293.5)
XYZxyz(31.8759, 29.2302, 54.9911)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CC2 #B7C28C
analogous
#8C9CC2 #978CC2 #B28CC2
triadic
#978CC2 #C2978C #8CC297
tetradic
#978CC2 #C28C9C #B7C28C #8CC2B2
square
#978CC2 #C28C9C #B7C28C #8CC2B2
split-complementary
#978CC2 #C2B28C #9CC28C
monochromatic
#57498A #7364AD #978CC2 #BBB4D7 #DFDCEC

Accessibility & contrast

On white

3.07
#978CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##978CC2#FFFFFF#000000##000000
##978CC21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#8092C1
Tritanopia (blue-blind)
#8E959F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978cc2;
/* rgb */ color: rgb(151, 140, 194);
/* oklch */ color: oklch(67.0% 0.080 293.5);
Tailwind
colors: {
  custom: {
    50: '#b6add4',
    500: '#978cc2',
    950: '#000000',
  },
}
SCSS
$custom: #978cc2;
$custom-light: #b6add4;
$custom-dark: #000000;
JSON
{
  "hex": "#978cc2",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 252.222,
    "s": 30.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.07971,
    "h": 293.5
  },
  "luminance": 0.29231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #978CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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