#AA78EA#AA78EA

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

Color values

HEX#AA78EA
RGBrgb(170, 120, 234)
HSLhsl(266, 73%, 69%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(27.4%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.82, 42.01, -50.66)
CIE-LCHlch(59.82, 65.81, 309.67°)
OKLaboklab(67.09% 0.0901 -0.1423)
OKLCHoklch(67.09% 0.168 302.3)
XYZxyz(38.1420, 27.9195, 81.2055)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78EA #B8EA78
analogous
#787FEA #AA78EA #E378EA
triadic
#AA78EA #EAAA78 #78EAAA
tetradic
#AA78EA #EA787F #B8EA78 #78EAE3
square
#AA78EA #EA787F #B8EA78 #78EAE3
split-complementary
#AA78EA #EAE378 #7FEA78
monochromatic
#691FC8 #8943E2 #AA78EA #CBADF2 #EDE2FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA78EA#FFFFFF#000000##000000
##AA78EA1.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)
#558FEE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#9E8DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa78ea;
/* rgb */ color: rgb(170, 120, 234);
/* oklch */ color: oklch(67.1% 0.168 302.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0f1',
    500: '#aa78ea',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ea;
$custom-light: #c6a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ea",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 266.316,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67089,
    "c": 0.1684,
    "h": 302.3
  },
  "luminance": 0.2792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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