#978DC4#978DC4

#978DC4 is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.2% C 0.081 H 292.4°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#978DC4
RGBrgb(151, 141, 196)
HSLhsl(251, 32%, 66%)
HSVhsv(251, 28%, 77%)
CMYKcmyk(23%, 28.1%, 0%, 23.1%)
CIE-LABlab(61.32, 15.46, -27.15)
CIE-LCHlch(61.32, 31.24, 299.66°)
OKLaboklab(67.25% 0.0309 -0.0748)
OKLCHoklch(67.25% 0.081 292.4)
XYZxyz(32.2488, 29.6142, 56.2309)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DC4 #BAC48D
analogous
#8D9EC4 #978DC4 #B28DC4
triadic
#978DC4 #C4978D #8DC497
tetradic
#978DC4 #C48D9E #BAC48D #8DC4B2
square
#978DC4 #C48D9E #BAC48D #8DC4B2
split-complementary
#978DC4 #C4B28D #9EC48D
monochromatic
#56498D #7265AF #978DC4 #BCB5D9 #E1DEEE

Accessibility & contrast

On white

3.03
#978DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#978DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DC4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DC4#FFFFFF#000000##000000
##978DC41.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C6
Deuteranopia (green-blind)
#8093C3
Tritanopia (blue-blind)
#8E96A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978dc4;
/* rgb */ color: rgb(151, 141, 196);
/* oklch */ color: oklch(67.2% 0.081 292.4);
Tailwind
colors: {
  custom: {
    50: '#b6aed6',
    500: '#978dc4',
    950: '#000000',
  },
}
SCSS
$custom: #978dc4;
$custom-light: #b6aed6;
$custom-dark: #000000;
JSON
{
  "hex": "#978dc4",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 196
  },
  "hsl": {
    "h": 250.909,
    "s": 31.792,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67247,
    "c": 0.08097,
    "h": 292.4
  },
  "luminance": 0.29615
}

Semantic roles & 50–950 ramp

primary
#978DC4
secondary
#DCDFCD
accent
#AB3B96
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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