#978ABE#978ABE

#978ABE is a light, moderate violet. Relative luminance 0.285; OKLCH L 66.4% C 0.077 H 295.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#978ABE
RGBrgb(151, 138, 190)
HSLhsl(255, 29%, 64%)
HSVhsv(255, 27%, 75%)
CMYKcmyk(20.5%, 27.4%, 0%, 25.5%)
CIE-LABlab(60.31, 15.76, -25.31)
CIE-LCHlch(60.31, 29.82, 301.91°)
OKLaboklab(66.39% 0.0335 -0.0696)
OKLCHoklch(66.39% 0.077 295.7)
XYZxyz(31.1432, 28.4737, 52.5605)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ABE #B1BE8A
analogous
#8A97BE #978ABE #B18ABE
triadic
#978ABE #BE978A #8ABE97
tetradic
#978ABE #BE8A97 #B1BE8A #8ABEB1
square
#978ABE #BE8A97 #B1BE8A #8ABEB1
split-complementary
#978ABE #BEB18A #97BE8A
monochromatic
#584984 #7463A8 #978ABE #BAB1D4 #DDD9EA

Accessibility & contrast

On white

3.14
#978ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#978ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978ABE
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ABE#FFFFFF#000000##000000
##978ABE1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C0
Deuteranopia (green-blind)
#8091BD
Tritanopia (blue-blind)
#90929C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978abe;
/* rgb */ color: rgb(151, 138, 190);
/* oklch */ color: oklch(66.4% 0.077 295.7);
Tailwind
colors: {
  custom: {
    50: '#b6acd1',
    500: '#978abe',
    950: '#000000',
  },
}
SCSS
$custom: #978abe;
$custom-light: #b6acd1;
$custom-dark: #000000;
JSON
{
  "hex": "#978abe",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 190
  },
  "hsl": {
    "h": 255,
    "s": 28.571,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.07726,
    "h": 295.7
  },
  "luminance": 0.28474
}

Semantic roles & 50–950 ramp

primary
#978ABE
secondary
#D6DBC9
accent
#A73E8D
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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