#A978DC#A978DC

#A978DC is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.2% C 0.151 H 305.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A978DC
RGBrgb(169, 120, 220)
HSLhsl(269, 59%, 67%)
HSVhsv(269, 45%, 86%)
CMYKcmyk(23.2%, 45.5%, 0%, 13.7%)
CIE-LABlab(59.01, 38.44, -44.12)
CIE-LCHlch(59.01, 58.52, 311.06°)
OKLaboklab(66.23% 0.0872 -0.1233)
OKLCHoklch(66.23% 0.151 305.3)
XYZxyz(35.9942, 27.0355, 71.0184)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978DC #ABDC78
analogous
#7879DC #A978DC #DB78DC
triadic
#A978DC #DCA978 #78DCA9
tetradic
#A978DC #DC7879 #ABDC78 #78DCDB
square
#A978DC #DC7879 #ABDC78 #78DCDB
split-complementary
#A978DC #DCDB78 #79DC78
monochromatic
#6C2DAD #8A47CF #A978DC #C8A9E9 #E7D9F5

Accessibility & contrast

On white

3.28
#A978DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A978DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978DC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978DC#FFFFFF#000000##000000
##A978DC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CE0
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#A189A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a978dc;
/* rgb */ color: rgb(169, 120, 220);
/* oklch */ color: oklch(66.2% 0.151 305.3);
Tailwind
colors: {
  custom: {
    50: '#c4a0e7',
    500: '#a978dc',
    950: '#000000',
  },
}
SCSS
$custom: #a978dc;
$custom-light: #c4a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a978dc",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 269.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.15098,
    "h": 305.3
  },
  "luminance": 0.27035
}

Semantic roles & 50–950 ramp

primary
#A978DC
secondary
#D8E8C8
accent
#C61F74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A978DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A978DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva