#978BBE#978BBE

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

Color values

HEX#978BBE
RGBrgb(151, 139, 190)
HSLhsl(254, 28%, 65%)
HSVhsv(254, 27%, 75%)
CMYKcmyk(20.5%, 26.8%, 0%, 25.5%)
CIE-LABlab(60.57, 15.19, -24.92)
CIE-LCHlch(60.57, 29.18, 301.36°)
OKLaboklab(66.59% 0.032 -0.0685)
OKLCHoklch(66.59% 0.076 295.1)
XYZxyz(31.2873, 28.7620, 52.6085)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978BBE #B2BE8B
analogous
#8B99BE #978BBE #B18BBE
triadic
#978BBE #BE978B #8BBE97
tetradic
#978BBE #BE8B99 #B2BE8B #8BBEB1
square
#978BBE #BE8B99 #B2BE8B #8BBEB1
split-complementary
#978BBE #BEB18B #99BE8B
monochromatic
#584A84 #7464A8 #978BBE #BAB2D4 #DDD9EA

Accessibility & contrast

On white

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

On black

6.75
#978BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978BBE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978BBE#FFFFFF#000000##000000
##978BBE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F92C0
Deuteranopia (green-blind)
#8191BD
Tritanopia (blue-blind)
#8F939D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978bbe;
/* rgb */ color: rgb(151, 139, 190);
/* oklch */ color: oklch(66.6% 0.076 295.1);
Tailwind
colors: {
  custom: {
    50: '#b6acd1',
    500: '#978bbe',
    950: '#000000',
  },
}
SCSS
$custom: #978bbe;
$custom-light: #b6acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#978bbe",
  "rgb": {
    "r": 151,
    "g": 139,
    "b": 190
  },
  "hsl": {
    "h": 254.118,
    "s": 28.177,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66592,
    "c": 0.07562,
    "h": 295.1
  },
  "luminance": 0.28762
}

Semantic roles & 50–950 ramp

primary
#978BBE
secondary
#D7DBCA
accent
#A73F8E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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