#978FA2#978FA2

#978FA2 is a light, muted violet. Relative luminance 0.288; OKLCH L 66.3% C 0.029 H 304.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#978FA2
RGBrgb(151, 143, 162)
HSLhsl(265, 9%, 60%)
HSVhsv(265, 12%, 64%)
CMYKcmyk(6.8%, 11.7%, 0%, 36.5%)
CIE-LABlab(60.63, 6.70, -8.94)
CIE-LCHlch(60.63, 11.17, 306.83°)
OKLaboklab(66.32% 0.0166 -0.024)
OKLCHoklch(66.32% 0.029 304.6)
XYZxyz(29.1054, 28.8329, 38.2074)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978FA2 #9AA28F
analogous
#8F91A2 #978FA2 #A08FA2
triadic
#978FA2 #A2978F #8FA297
tetradic
#978FA2 #A28F91 #9AA28F #8FA2A0
square
#978FA2 #A28F91 #9AA28F #8FA2A0
split-complementary
#978FA2 #A2A08F #91A28F
monochromatic
#5A5364 #786F85 #978FA2 #B6B0BE #D5D2DA

Accessibility & contrast

On white

3.10
#978FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#978FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978FA2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978FA2#FFFFFF#000000##000000
##978FA21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#8D92A1
Tritanopia (blue-blind)
#969195
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978fa2;
/* rgb */ color: rgb(151, 143, 162);
/* oklch */ color: oklch(66.3% 0.029 304.6);
Tailwind
colors: {
  custom: {
    50: '#b5afbd',
    500: '#978fa2',
    950: '#000000',
  },
}
SCSS
$custom: #978fa2;
$custom-light: #b5afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#978fa2",
  "rgb": {
    "r": 151,
    "g": 143,
    "b": 162
  },
  "hsl": {
    "h": 265.263,
    "s": 9.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66316,
    "c": 0.02916,
    "h": 304.6
  },
  "luminance": 0.28833
}

Semantic roles & 50–950 ramp

primary
#978FA2
secondary
#C7CAC3
accent
#B27699
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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