#978ABB#978ABB

#978ABB is a light, moderate violet. Relative luminance 0.283; OKLCH L 66.3% C 0.073 H 296.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#978ABB
RGBrgb(151, 138, 187)
HSLhsl(256, 26%, 64%)
HSVhsv(256, 26%, 73%)
CMYKcmyk(19.3%, 26.2%, 0%, 26.7%)
CIE-LABlab(60.20, 15.06, -23.80)
CIE-LCHlch(60.20, 28.16, 302.33°)
OKLaboklab(66.27% 0.0326 -0.0653)
OKLCHoklch(66.27% 0.073 296.5)
XYZxyz(30.8186, 28.3439, 50.8514)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ABB #AEBB8A
analogous
#8A95BB #978ABB #AF8ABB
triadic
#978ABB #BB978A #8ABB97
tetradic
#978ABB #BB8A95 #AEBB8A #8ABBAF
square
#978ABB #BB8A95 #AEBB8A #8ABBAF
split-complementary
#978ABB #BBAF8A #95BB8A
monochromatic
#594A80 #7563A5 #978ABB #B9B1D1 #DCD7E8

Accessibility & contrast

On white

3.15
#978ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#978ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978ABB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ABB#FFFFFF#000000##000000
##978ABB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #978abb;
/* rgb */ color: rgb(151, 138, 187);
/* oklch */ color: oklch(66.3% 0.073 296.5);
Tailwind
colors: {
  custom: {
    50: '#b6accf',
    500: '#978abb',
    950: '#000000',
  },
}
SCSS
$custom: #978abb;
$custom-light: #b6accf;
$custom-dark: #000000;
JSON
{
  "hex": "#978abb",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 187
  },
  "hsl": {
    "h": 255.918,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.07299,
    "h": 296.5
  },
  "luminance": 0.28344
}

Semantic roles & 50–950 ramp

primary
#978ABB
secondary
#D4D9C8
accent
#A5408A
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111014
muted
#807F82

Preview Lab

Preview with #978ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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