#978DC2#978DC2

#978DC2 is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.2% C 0.078 H 292.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#978DC2
RGBrgb(151, 141, 194)
HSLhsl(251, 30%, 66%)
HSVhsv(251, 27%, 76%)
CMYKcmyk(22.2%, 27.3%, 0%, 23.9%)
CIE-LABlab(61.24, 14.98, -26.15)
CIE-LCHlch(61.24, 30.13, 299.81°)
OKLaboklab(67.16% 0.0303 -0.072)
OKLCHoklch(67.16% 0.078 292.8)
XYZxyz(32.0227, 29.5237, 55.0400)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DC2 #B8C28D
analogous
#8D9DC2 #978DC2 #B18DC2
triadic
#978DC2 #C2978D #8DC297
tetradic
#978DC2 #C28D9D #B8C28D #8DC2B1
square
#978DC2 #C28D9D #B8C28D #8DC2B1
split-complementary
#978DC2 #C2B18D #9DC28D
monochromatic
#564A8A #7365AD #978DC2 #BBB5D7 #E0DDED

Accessibility & contrast

On white

3.04
#978DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#978DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DC2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DC2#FFFFFF#000000##000000
##978DC21.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#8193C1
Tritanopia (blue-blind)
#8E96A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978dc2;
/* rgb */ color: rgb(151, 141, 194);
/* oklch */ color: oklch(67.2% 0.078 292.8);
Tailwind
colors: {
  custom: {
    50: '#b6aed4',
    500: '#978dc2',
    950: '#000000',
  },
}
SCSS
$custom: #978dc2;
$custom-light: #b6aed4;
$custom-dark: #000000;
JSON
{
  "hex": "#978dc2",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 251.321,
    "s": 30.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.07811,
    "h": 292.8
  },
  "luminance": 0.29524
}

Semantic roles & 50–950 ramp

primary
#978DC2
secondary
#DBDECD
accent
#A93D95
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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