#AA78E9#AA78E9

#AA78E9 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.0% C 0.167 H 302.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AA78E9
RGBrgb(170, 120, 233)
HSLhsl(267, 72%, 69%)
HSVhsv(267, 48%, 91%)
CMYKcmyk(27%, 48.5%, 0%, 8.6%)
CIE-LABlab(59.76, 41.77, -50.18)
CIE-LCHlch(59.76, 65.29, 309.77°)
OKLaboklab(67.03% 0.09 -0.1409)
OKLCHoklch(67.03% 0.167 302.6)
XYZxyz(37.9987, 27.8622, 80.4511)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78E9 #B7E978
analogous
#787FE9 #AA78E9 #E378E9
triadic
#AA78E9 #E9AA78 #78E9AA
tetradic
#AA78E9 #E9787F #B7E978 #78E9E3
square
#AA78E9 #E9787F #B7E978 #78E9E3
split-complementary
#AA78E9 #E9E378 #7FE978
monochromatic
#6A20C6 #8943E0 #AA78E9 #CBADF2 #ECE1FA

Accessibility & contrast

On white

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

On black

6.57
#AA78E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78E9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78E9#FFFFFF#000000##000000
##AA78E91.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568FED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#9F8CA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa78e9;
/* rgb */ color: rgb(170, 120, 233);
/* oklch */ color: oklch(67.0% 0.167 302.6);
Tailwind
colors: {
  custom: {
    50: '#c6a0f0',
    500: '#aa78e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa78e9;
$custom-light: #c6a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78e9",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 266.549,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67034,
    "c": 0.16717,
    "h": 302.6
  },
  "luminance": 0.27862
}

Semantic roles & 50–950 ramp

primary
#AA78E9
secondary
#E0EFCE
accent
#D4117E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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