#978ABC#978ABC

#978ABC is a light, moderate violet. Relative luminance 0.284; OKLCH L 66.3% C 0.074 H 296.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#978ABC
RGBrgb(151, 138, 188)
HSLhsl(256, 27%, 64%)
HSVhsv(256, 27%, 74%)
CMYKcmyk(19.7%, 26.6%, 0%, 26.3%)
CIE-LABlab(60.24, 15.29, -24.30)
CIE-LCHlch(60.24, 28.71, 302.18°)
OKLaboklab(66.31% 0.0329 -0.0667)
OKLCHoklch(66.31% 0.074 296.2)
XYZxyz(30.9261, 28.3869, 51.4171)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ABC #AFBC8A
analogous
#8A96BC #978ABC #B08ABC
triadic
#978ABC #BC978A #8ABC97
tetradic
#978ABC #BC8A96 #AFBC8A #8ABCB0
square
#978ABC #BC8A96 #AFBC8A #8ABCB0
split-complementary
#978ABC #BCB08A #96BC8A
monochromatic
#594A81 #7463A6 #978ABC #BAB1D2 #DCD8E9

Accessibility & contrast

On white

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

On black

6.68
#978ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978ABC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ABC#FFFFFF#000000##000000
##978ABC1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BE
Deuteranopia (green-blind)
#8191BB
Tritanopia (blue-blind)
#90929B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978abc;
/* rgb */ color: rgb(151, 138, 188);
/* oklch */ color: oklch(66.3% 0.074 296.2);
Tailwind
colors: {
  custom: {
    50: '#b6acd0',
    500: '#978abc',
    950: '#000000',
  },
}
SCSS
$custom: #978abc;
$custom-light: #b6acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#978abc",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 255.6,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.07442,
    "h": 296.2
  },
  "luminance": 0.28387
}

Semantic roles & 50–950 ramp

primary
#978ABC
secondary
#D5DAC8
accent
#A6408B
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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