#978CBF#978CBF

#978CBF is a light, moderate violet. Relative luminance 0.291; OKLCH L 66.8% C 0.075 H 294.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#978CBF
RGBrgb(151, 140, 191)
HSLhsl(253, 28%, 65%)
HSVhsv(253, 27%, 75%)
CMYKcmyk(20.9%, 26.7%, 0%, 25.1%)
CIE-LABlab(60.87, 14.85, -25.03)
CIE-LCHlch(60.87, 29.10, 300.68°)
OKLaboklab(66.83% 0.0309 -0.0688)
OKLCHoklch(66.83% 0.075 294.2)
XYZxyz(31.5424, 29.0968, 53.2346)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978CBF #B4BF8C
analogous
#8C9BBF #978CBF #B18CBF
triadic
#978CBF #BF978C #8CBF97
tetradic
#978CBF #BF8C9B #B4BF8C #8CBFB1
square
#978CBF #BF8C9B #B4BF8C #8CBFB1
split-complementary
#978CBF #BFB18C #9BBF8C
monochromatic
#574B86 #7365A9 #978CBF #BBB3D5 #DEDBEB

Accessibility & contrast

On white

3.08
#978CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#978CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978CBF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978CBF#FFFFFF#000000##000000
##978CBF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#8192BE
Tritanopia (blue-blind)
#8F949E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978cbf;
/* rgb */ color: rgb(151, 140, 191);
/* oklch */ color: oklch(66.8% 0.075 294.2);
Tailwind
colors: {
  custom: {
    50: '#b6add2',
    500: '#978cbf',
    950: '#000000',
  },
}
SCSS
$custom: #978cbf;
$custom-light: #b6add2;
$custom-dark: #000000;
JSON
{
  "hex": "#978cbf",
  "rgb": {
    "r": 151,
    "g": 140,
    "b": 191
  },
  "hsl": {
    "h": 252.941,
    "s": 28.492,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.07543,
    "h": 294.2
  },
  "luminance": 0.29097
}

Semantic roles & 50–950 ramp

primary
#978CBF
secondary
#D8DCCB
accent
#A73E91
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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