#978BC4#978BC4

#978BC4 is a light, moderate violet. Relative luminance 0.290; OKLCH L 66.9% C 0.084 H 293.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#978BC4
RGBrgb(151, 139, 196)
HSLhsl(253, 33%, 66%)
HSVhsv(253, 29%, 77%)
CMYKcmyk(23%, 29.1%, 0%, 23.1%)
CIE-LABlab(60.81, 16.61, -27.94)
CIE-LCHlch(60.81, 32.50, 300.73°)
OKLaboklab(66.85% 0.0338 -0.0771)
OKLCHoklch(66.85% 0.084 293.7)
XYZxyz(31.9566, 29.0297, 56.1335)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BC4 #B8C48B
analogous
#8B9BC4 #978BC4 #B38BC4
triadic
#978BC4 #C4978B #8BC497
tetradic
#978BC4 #C48B9B #B8C48B #8BC4B3
square
#978BC4 #C48B9B #B8C48B #8BC4B3
split-complementary
#978BC4 #C4B38B #9BC48B
monochromatic
#56488D #7362AF #978BC4 #BBB4D9 #E0DCED

Accessibility & contrast

On white

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

On black

6.81
#978BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BC4
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BC4#FFFFFF#000000##000000
##978BC41.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978bc4;
/* rgb */ color: rgb(151, 139, 196);
/* oklch */ color: oklch(66.9% 0.084 293.7);
Tailwind
colors: {
  custom: {
    50: '#b6add6',
    500: '#978bc4',
    950: '#000000',
  },
}
SCSS
$custom: #978bc4;
$custom-light: #b6add6;
$custom-dark: #000000;
JSON
{
  "hex": "#978bc4",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 196
  },
  "hsl": {
    "h": 252.632,
    "s": 32.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66853,
    "c": 0.08416,
    "h": 293.7
  },
  "luminance": 0.2903
}

Semantic roles & 50–950 ramp

primary
#978BC4
secondary
#DBDFCC
accent
#AB3A94
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#111014
muted
#807F83

Preview Lab

Preview with #978BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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