#978BBF#978BBF

#978BBF is a light, moderate violet. Relative luminance 0.288; OKLCH L 66.6% C 0.077 H 294.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#978BBF
RGBrgb(151, 139, 191)
HSLhsl(254, 29%, 65%)
HSVhsv(254, 27%, 75%)
CMYKcmyk(20.9%, 27.2%, 0%, 25.1%)
CIE-LABlab(60.61, 15.42, -25.42)
CIE-LCHlch(60.61, 29.74, 301.24°)
OKLaboklab(66.64% 0.0323 -0.0699)
OKLCHoklch(66.64% 0.077 294.8)
XYZxyz(31.3970, 28.8059, 53.1861)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BBF #B3BF8B
analogous
#8B99BF #978BBF #B18BBF
triadic
#978BBF #BF978B #8BBF97
tetradic
#978BBF #BF8B99 #B3BF8B #8BBFB1
square
#978BBF #BF8B99 #B3BF8B #8BBFB1
split-complementary
#978BBF #BFB18B #99BF8B
monochromatic
#584A86 #7464A9 #978BBF #BAB2D5 #DEDAEB

Accessibility & contrast

On white

3.11
#978BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#978BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BBF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BBF#FFFFFF#000000##000000
##978BBF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C1
Deuteranopia (green-blind)
#8091BE
Tritanopia (blue-blind)
#8F939D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bbf;
/* rgb */ color: rgb(151, 139, 191);
/* oklch */ color: oklch(66.6% 0.077 294.8);
Tailwind
colors: {
  custom: {
    50: '#b6acd2',
    500: '#978bbf',
    950: '#000000',
  },
}
SCSS
$custom: #978bbf;
$custom-light: #b6acd2;
$custom-dark: #000000;
JSON
{
  "hex": "#978bbf",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 191
  },
  "hsl": {
    "h": 253.846,
    "s": 28.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66635,
    "c": 0.07705,
    "h": 294.8
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#978BBF
secondary
#D8DCCA
accent
#A83E8F
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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