#A978EC#A978EC

#A978EC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.171 H 301.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A978EC
RGBrgb(169, 120, 236)
HSLhsl(265, 75%, 70%)
HSVhsv(265, 49%, 93%)
CMYKcmyk(28.4%, 49.2%, 0%, 7.5%)
CIE-LABlab(59.82, 42.23, -51.77)
CIE-LCHlch(59.82, 66.81, 309.20°)
OKLaboklab(67.1% 0.0891 -0.1456)
OKLCHoklch(67.1% 0.171 301.5)
XYZxyz(38.2155, 27.9240, 82.7172)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A978EC #BBEC78
analogous
#7881EC #A978EC #E378EC
triadic
#A978EC #ECA978 #78ECA9
tetradic
#A978EC #EC7881 #BBEC78 #78ECE3
square
#A978EC #EC7881 #BBEC78 #78ECE3
split-complementary
#A978EC #ECE378 #81EC78
monochromatic
#671DCD #8742E4 #A978EC #CBAEF4 #EDE3FB

Accessibility & contrast

On white

3.19
#A978EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A978EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A978EC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A978EC#FFFFFF#000000##000000
##A978EC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#9C8DA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a978ec;
/* rgb */ color: rgb(169, 120, 236);
/* oklch */ color: oklch(67.1% 0.171 301.5);
Tailwind
colors: {
  custom: {
    50: '#c5a0f3',
    500: '#a978ec',
    950: '#000000',
  },
}
SCSS
$custom: #a978ec;
$custom-light: #c5a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a978ec",
  "rgb": {
    "r": 169,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 265.345,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67103,
    "c": 0.17064,
    "h": 301.5
  },
  "luminance": 0.27924
}

Semantic roles & 50–950 ramp

primary
#A978EC
secondary
#E2F0D0
accent
#D70E82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A978EC

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

Preview Lab → · Contrast checker → · Palette generator →

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