#978DBB#978DBB

#978DBB is a light, moderate violet. Relative luminance 0.292; OKLCH L 66.9% C 0.068 H 294.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#978DBB
RGBrgb(151, 141, 187)
HSLhsl(253, 25%, 64%)
HSVhsv(253, 25%, 73%)
CMYKcmyk(19.3%, 24.6%, 0%, 26.7%)
CIE-LABlab(60.97, 13.34, -22.61)
CIE-LCHlch(60.97, 26.25, 300.54°)
OKLaboklab(66.86% 0.0282 -0.062)
OKLCHoklch(66.86% 0.068 294.5)
XYZxyz(31.2550, 29.2167, 50.9968)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DBB #B1BB8D
analogous
#8D9ABB #978DBB #AE8DBB
triadic
#978DBB #BB978D #8DBB97
tetradic
#978DBB #BB8D9A #B1BB8D #8DBBAE
square
#978DBB #BB8D9A #B1BB8D #8DBBAE
split-complementary
#978DBB #BBAE8D #9ABB8D
monochromatic
#584D81 #7467A4 #978DBB #BAB3D2 #DDDAE9

Accessibility & contrast

On white

3.07
#978DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#978DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DBB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DBB#FFFFFF#000000##000000
##978DBB1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#8492BA
Tritanopia (blue-blind)
#90949D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978dbb;
/* rgb */ color: rgb(151, 141, 187);
/* oklch */ color: oklch(66.9% 0.068 294.5);
Tailwind
colors: {
  custom: {
    50: '#b6aecf',
    500: '#978dbb',
    950: '#000000',
  },
}
SCSS
$custom: #978dbb;
$custom-light: #b6aecf;
$custom-dark: #000000;
JSON
{
  "hex": "#978dbb",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 187
  },
  "hsl": {
    "h": 253.043,
    "s": 25.275,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66864,
    "c": 0.06808,
    "h": 294.5
  },
  "luminance": 0.29217
}

Semantic roles & 50–950 ramp

primary
#978DBB
secondary
#D6DACA
accent
#A4428E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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