#A978EE#A978EE

#A978EE is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.173 H 301.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A978EE
RGBrgb(169, 120, 238)
HSLhsl(265, 78%, 70%)
HSVhsv(265, 50%, 93%)
CMYKcmyk(29%, 49.6%, 0%, 6.7%)
CIE-LABlab(59.93, 42.71, -52.71)
CIE-LCHlch(59.93, 67.84, 309.02°)
OKLaboklab(67.22% 0.0893 -0.1483)
OKLCHoklch(67.22% 0.173 301)
XYZxyz(38.5077, 28.0409, 84.2561)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978EE #BDEE78
analogous
#7882EE #A978EE #E478EE
triadic
#A978EE #EEA978 #78EEA9
tetradic
#A978EE #EE7882 #BDEE78 #78EEE4
square
#A978EE #EE7882 #BDEE78 #78EEE4
split-complementary
#A978EE #EEE478 #82EE78
monochromatic
#661AD1 #8642E7 #A978EE #CCAEF5 #EEE4FC

Accessibility & contrast

On white

3.18
#A978EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A978EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978EE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978EE#FFFFFF#000000##000000
##A978EE1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#5E90EB
Tritanopia (blue-blind)
#9C8EA8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978ee;
/* rgb */ color: rgb(169, 120, 238);
/* oklch */ color: oklch(67.2% 0.173 301.0);
Tailwind
colors: {
  custom: {
    50: '#c5a0f4',
    500: '#a978ee',
    950: '#000000',
  },
}
SCSS
$custom: #a978ee;
$custom-light: #c5a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ee",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 264.915,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67216,
    "c": 0.17309,
    "h": 301
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#A978EE
secondary
#E4F1D1
accent
#DA0C84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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