#978DBA#978DBA

#978DBA is a light, moderate violet. Relative luminance 0.292; OKLCH L 66.8% C 0.067 H 294.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#978DBA
RGBrgb(151, 141, 186)
HSLhsl(253, 25%, 64%)
HSVhsv(253, 24%, 73%)
CMYKcmyk(18.8%, 24.2%, 0%, 27.1%)
CIE-LABlab(60.93, 13.11, -22.10)
CIE-LCHlch(60.93, 25.69, 300.67°)
OKLaboklab(66.82% 0.0279 -0.0605)
OKLCHoklch(66.82% 0.067 294.7)
XYZxyz(31.1483, 29.1740, 50.4350)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978DBA #B0BA8D
analogous
#8D9ABA #978DBA #AE8DBA
triadic
#978DBA #BA978D #8DBA97
tetradic
#978DBA #BA8D9A #B0BA8D #8DBAAE
square
#978DBA #BA8D9A #B0BA8D #8DBAAE
split-complementary
#978DBA #BAAE8D #9ABA8D
monochromatic
#584D7F #7467A3 #978DBA #BAB3D1 #DDD9E8

Accessibility & contrast

On white

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

On black

6.83
#978DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978DBA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978DBA#FFFFFF#000000##000000
##978DBA1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8393BC
Deuteranopia (green-blind)
#8492B9
Tritanopia (blue-blind)
#90949D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #978dba;
/* rgb */ color: rgb(151, 141, 186);
/* oklch */ color: oklch(66.8% 0.067 294.7);
Tailwind
colors: {
  custom: {
    50: '#b6aece',
    500: '#978dba',
    950: '#000000',
  },
}
SCSS
$custom: #978dba;
$custom-light: #b6aece;
$custom-dark: #000000;
JSON
{
  "hex": "#978dba",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 186
  },
  "hsl": {
    "h": 253.333,
    "s": 24.59,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66823,
    "c": 0.06665,
    "h": 294.7
  },
  "luminance": 0.29174
}

Semantic roles & 50–950 ramp

primary
#978DBA
secondary
#D6D9CA
accent
#A3428E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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