#978BCC#978BCC

#978BCC is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.2% C 0.096 H 292.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#978BCC
RGBrgb(151, 139, 204)
HSLhsl(251, 39%, 67%)
HSVhsv(251, 32%, 80%)
CMYKcmyk(26%, 31.9%, 0%, 20%)
CIE-LABlab(61.14, 18.55, -31.93)
CIE-LCHlch(61.14, 36.93, 300.16°)
OKLaboklab(67.21% 0.0359 -0.0885)
OKLCHoklch(67.21% 0.096 292.1)
XYZxyz(32.8916, 29.4037, 61.0576)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BCC #C0CC8B
analogous
#8BA0CC #978BCC #B88BCC
triadic
#978BCC #CC978B #8BCC97
tetradic
#978BCC #CC8BA0 #C0CC8B #8BCCB8
square
#978BCC #CC8BA0 #C0CC8B #8BCCB8
split-complementary
#978BCC #CCB88B #A0CC8B
monochromatic
#534399 #7160B9 #978BCC #BDB6DF #E3E0F1

Accessibility & contrast

On white

3.05
#978BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#978BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BCC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BCC#FFFFFF#000000##000000
##978BCC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#8C96A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978bcc;
/* rgb */ color: rgb(151, 139, 204);
/* oklch */ color: oklch(67.2% 0.096 292.1);
Tailwind
colors: {
  custom: {
    50: '#b7addb',
    500: '#978bcc',
    950: '#000000',
  },
}
SCSS
$custom: #978bcc;
$custom-light: #b7addb;
$custom-dark: #000000;
JSON
{
  "hex": "#978bcc",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 204
  },
  "hsl": {
    "h": 251.077,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67213,
    "c": 0.09552,
    "h": 292.1
  },
  "luminance": 0.29404
}

Semantic roles & 50–950 ramp

primary
#978BCC
secondary
#E0E4CF
accent
#B2349B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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