#978EA5#978EA5

#978EA5 is a light, muted violet. Relative luminance 0.286; OKLCH L 66.2% C 0.035 H 303.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#978EA5
RGBrgb(151, 142, 165)
HSLhsl(263, 11%, 60%)
HSVhsv(263, 14%, 65%)
CMYKcmyk(8.5%, 13.9%, 0%, 35.3%)
CIE-LABlab(60.46, 7.89, -10.90)
CIE-LCHlch(60.46, 13.46, 305.90°)
OKLaboklab(66.22% 0.0192 -0.0293)
OKLCHoklch(66.22% 0.035 303.2)
XYZxyz(29.2258, 28.6419, 39.5788)
Luminance0.2864 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EA5 #9CA58E
analogous
#8E90A5 #978EA5 #A28EA5
triadic
#978EA5 #A5978E #8EA597
tetradic
#978EA5 #A58E90 #9CA58E #8EA5A2
square
#978EA5 #A58E90 #9CA58E #8EA5A2
split-complementary
#978EA5 #A5A28E #90A58E
monochromatic
#5A5267 #786D89 #978EA5 #B6B0C0 #D6D2DB

Accessibility & contrast

On white

3.12
#978EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#978EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EA5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EA5#FFFFFF#000000##000000
##978EA51.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A92A6
Deuteranopia (green-blind)
#8C92A4
Tritanopia (blue-blind)
#959196
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #978ea5;
/* rgb */ color: rgb(151, 142, 165);
/* oklch */ color: oklch(66.2% 0.035 303.2);
Tailwind
colors: {
  custom: {
    50: '#b5afbf',
    500: '#978ea5',
    950: '#000000',
  },
}
SCSS
$custom: #978ea5;
$custom-light: #b5afbf;
$custom-dark: #000000;
JSON
{
  "hex": "#978ea5",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 263.478,
    "s": 11.33,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.03508,
    "h": 303.2
  },
  "luminance": 0.28642
}

Semantic roles & 50–950 ramp

primary
#978EA5
secondary
#C8CCC3
accent
#95507A
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#111012
muted
#807F81

Preview Lab

Preview with #978EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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