#978ABA#978ABA

#978ABA is a light, moderate violet. Relative luminance 0.283; OKLCH L 66.2% C 0.072 H 296.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#978ABA
RGBrgb(151, 138, 186)
HSLhsl(256, 26%, 64%)
HSVhsv(256, 26%, 73%)
CMYKcmyk(18.8%, 25.8%, 0%, 27.1%)
CIE-LABlab(60.16, 14.83, -23.29)
CIE-LCHlch(60.16, 27.61, 302.49°)
OKLaboklab(66.22% 0.0323 -0.0639)
OKLCHoklch(66.22% 0.072 296.8)
XYZxyz(30.7120, 28.3013, 50.2895)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978ABA #ADBA8A
analogous
#8A95BA #978ABA #AF8ABA
triadic
#978ABA #BA978A #8ABA97
tetradic
#978ABA #BA8A95 #ADBA8A #8ABAAF
square
#978ABA #BA8A95 #ADBA8A #8ABAAF
split-complementary
#978ABA #BAAF8A #95BA8A
monochromatic
#594B7F #7564A3 #978ABA #B9B0D1 #DBD7E7

Accessibility & contrast

On white

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

On black

6.66
#978ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978ABA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978ABA#FFFFFF#000000##000000
##978ABA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091BC
Deuteranopia (green-blind)
#8190B9
Tritanopia (blue-blind)
#91919B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #978aba;
/* rgb */ color: rgb(151, 138, 186);
/* oklch */ color: oklch(66.2% 0.072 296.8);
Tailwind
colors: {
  custom: {
    50: '#b6accf',
    500: '#978aba',
    950: '#000000',
  },
}
SCSS
$custom: #978aba;
$custom-light: #b6accf;
$custom-dark: #000000;
JSON
{
  "hex": "#978aba",
  "rgb": {
    "r": 151,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 256.25,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66224,
    "c": 0.07158,
    "h": 296.8
  },
  "luminance": 0.28301
}

Semantic roles & 50–950 ramp

primary
#978ABA
secondary
#D4D8C7
accent
#A44189
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#111013
muted
#807F82

Preview Lab

Preview with #978ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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