#AA78EC#AA78EC

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

Color values

HEX#AA78EC
RGBrgb(170, 120, 236)
HSLhsl(266, 75%, 70%)
HSVhsv(266, 49%, 93%)
CMYKcmyk(28%, 49.2%, 0%, 7.5%)
CIE-LABlab(59.92, 42.49, -51.60)
CIE-LCHlch(59.92, 66.84, 309.47°)
OKLaboklab(67.2% 0.0903 -0.145)
OKLCHoklch(67.2% 0.171 301.9)
XYZxyz(38.4309, 28.0351, 82.7273)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78EC #BAEC78
analogous
#7880EC #AA78EC #E478EC
triadic
#AA78EC #ECAA78 #78ECAA
tetradic
#AA78EC #EC7880 #BAEC78 #78ECE4
square
#AA78EC #EC7880 #BAEC78 #78ECE4
split-complementary
#AA78EC #ECE478 #80EC78
monochromatic
#691DCD #8842E4 #AA78EC #CCAEF4 #EEE3FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA78EC#FFFFFF#000000##000000
##AA78EC1.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)
#5390F0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#9E8DA7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa78ec;
/* rgb */ color: rgb(170, 120, 236);
/* oklch */ color: oklch(67.2% 0.171 301.9);
Tailwind
colors: {
  custom: {
    50: '#c6a0f3',
    500: '#aa78ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ec;
$custom-light: #c6a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ec",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 265.862,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.17084,
    "h": 301.9
  },
  "luminance": 0.28035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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