#978BCB#978BCB

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

Color values

HEX#978BCB
RGBrgb(151, 139, 203)
HSLhsl(251, 38%, 67%)
HSVhsv(251, 32%, 80%)
CMYKcmyk(25.6%, 31.5%, 0%, 20.4%)
CIE-LABlab(61.09, 18.31, -31.44)
CIE-LCHlch(61.09, 36.38, 300.21°)
OKLaboklab(67.17% 0.0357 -0.0871)
OKLCHoklch(67.17% 0.094 292.3)
XYZxyz(32.7720, 29.3559, 60.4280)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BCB #BFCB8B
analogous
#8B9FCB #978BCB #B78BCB
triadic
#978BCB #CB978B #8BCB97
tetradic
#978BCB #CB8B9F #BFCB8B #8BCBB7
square
#978BCB #CB8B9F #BFCB8B #8BCBB7
split-complementary
#978BCB #CBB78B #9FCB8B
monochromatic
#544498 #7161B8 #978BCB #BDB5DE #E3E0F1

Accessibility & contrast

On white

3.06
#978BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#978BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BCB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BCB#FFFFFF#000000##000000
##978BCB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CE
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#8C96A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978bcb;
/* rgb */ color: rgb(151, 139, 203);
/* oklch */ color: oklch(67.2% 0.094 292.3);
Tailwind
colors: {
  custom: {
    50: '#b7addb',
    500: '#978bcb',
    950: '#000000',
  },
}
SCSS
$custom: #978bcb;
$custom-light: #b7addb;
$custom-dark: #000000;
JSON
{
  "hex": "#978bcb",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 251.25,
    "s": 38.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.0941,
    "h": 292.3
  },
  "luminance": 0.29356
}

Semantic roles & 50–950 ramp

primary
#978BCB
secondary
#DFE3CF
accent
#B1349A
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #978BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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