#978FB2#978FB2

#978FB2 is a light, muted violet. Relative luminance 0.294; OKLCH L 66.9% C 0.052 H 295.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#978FB2
RGBrgb(151, 143, 178)
HSLhsl(254, 19%, 63%)
HSVhsv(254, 20%, 70%)
CMYKcmyk(15.2%, 19.7%, 0%, 30.2%)
CIE-LABlab(61.17, 10.14, -17.22)
CIE-LCHlch(61.17, 19.99, 300.50°)
OKLaboklab(66.91% 0.0223 -0.0469)
OKLCHoklch(66.91% 0.052 295.4)
XYZxyz(30.6191, 29.4384, 46.1799)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FB2 #AAB28F
analogous
#8F98B2 #978FB2 #A88FB2
triadic
#978FB2 #B2978F #8FB297
tetradic
#978FB2 #B28F98 #AAB28F #8FB2A8
square
#978FB2 #B28F98 #AAB28F #8FB2A8
split-complementary
#978FB2 #B2A88F #98B28F
monochromatic
#595176 #756B99 #978FB2 #B9B3CB #DAD8E4

Accessibility & contrast

On white

3.05
#978FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#978FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FB2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FB2#FFFFFF#000000##000000
##978FB21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8894B4
Deuteranopia (green-blind)
#8993B1
Tritanopia (blue-blind)
#92949B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978fb2;
/* rgb */ color: rgb(151, 143, 178);
/* oklch */ color: oklch(66.9% 0.052 295.4);
Tailwind
colors: {
  custom: {
    50: '#b6afc9',
    500: '#978fb2',
    950: '#000000',
  },
}
SCSS
$custom: #978fb2;
$custom-light: #b6afc9;
$custom-dark: #000000;
JSON
{
  "hex": "#978fb2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 253.714,
    "s": 18.519,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66906,
    "c": 0.05189,
    "h": 295.4
  },
  "luminance": 0.29439
}

Semantic roles & 50–950 ramp

primary
#978FB2
secondary
#D2D5C8
accent
#9D498A
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#111013
muted
#807F82

Preview Lab

Preview with #978FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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