#978EBE#978EBE

#978EBE is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.2% C 0.071 H 293.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#978EBE
RGBrgb(151, 142, 190)
HSLhsl(251, 27%, 65%)
HSVhsv(251, 25%, 75%)
CMYKcmyk(20.5%, 25.3%, 0%, 25.5%)
CIE-LABlab(61.34, 13.46, -23.73)
CIE-LCHlch(61.34, 27.28, 299.57°)
OKLaboklab(67.19% 0.0277 -0.0651)
OKLCHoklch(67.19% 0.071 293)
XYZxyz(31.7276, 29.6427, 52.7553)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978EBE #B5BE8E
analogous
#8E9DBE #978EBE #AF8EBE
triadic
#978EBE #BE978E #8EBE97
tetradic
#978EBE #BE8E9D #B5BE8E #8EBEAF
square
#978EBE #BE8E9D #B5BE8E #8EBEAF
split-complementary
#978EBE #BEAF8E #9DBE8E
monochromatic
#574D85 #7367A8 #978EBE #BBB5D4 #DFDCEB

Accessibility & contrast

On white

3.03
#978EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#978EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978EBE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978EBE#FFFFFF#000000##000000
##978EBE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C0
Deuteranopia (green-blind)
#8493BD
Tritanopia (blue-blind)
#8F969F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #978ebe;
/* rgb */ color: rgb(151, 142, 190);
/* oklch */ color: oklch(67.2% 0.071 293.0);
Tailwind
colors: {
  custom: {
    50: '#b6afd1',
    500: '#978ebe',
    950: '#000000',
  },
}
SCSS
$custom: #978ebe;
$custom-light: #b6afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#978ebe",
  "rgb": {
    "r": 151,
    "g": 142,
    "b": 190
  },
  "hsl": {
    "h": 251.25,
    "s": 26.966,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.07077,
    "h": 293
  },
  "luminance": 0.29643
}

Semantic roles & 50–950 ramp

primary
#978EBE
secondary
#D9DCCC
accent
#A64092
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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