#A978EA#A978EA

#A978EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.168 H 301.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A978EA
RGBrgb(169, 120, 234)
HSLhsl(266, 73%, 69%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(27.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.72, 41.75, -50.82)
CIE-LCHlch(59.72, 65.77, 309.40°)
OKLaboklab(66.99% 0.0889 -0.1428)
OKLCHoklch(66.99% 0.168 301.9)
XYZxyz(37.9266, 27.8084, 81.1954)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978EA #B9EA78
analogous
#7880EA #A978EA #E278EA
triadic
#A978EA #EAA978 #78EAA9
tetradic
#A978EA #EA7880 #B9EA78 #78EAE2
square
#A978EA #EA7880 #B9EA78 #78EAE2
split-complementary
#A978EA #EAE278 #80EA78
monochromatic
#681FC8 #8743E2 #A978EA #CBADF2 #ECE2FA

Accessibility & contrast

On white

3.20
#A978EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A978EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978EA#FFFFFF#000000##000000
##A978EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#9D8DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978ea;
/* rgb */ color: rgb(169, 120, 234);
/* oklch */ color: oklch(67.0% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#c5a0f1',
    500: '#a978ea',
    950: '#000000',
  },
}
SCSS
$custom: #a978ea;
$custom-light: #c5a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ea",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 265.789,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.16819,
    "h": 301.9
  },
  "luminance": 0.27808
}

Semantic roles & 50–950 ramp

primary
#A978EA
secondary
#E1EFCE
accent
#D51081
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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