#AA78F5#AA78F5

#AA78F5 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.182 H 300.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AA78F5
RGBrgb(170, 120, 245)
HSLhsl(264, 86%, 72%)
HSVhsv(264, 51%, 96%)
CMYKcmyk(30.6%, 51%, 0%, 3.9%)
CIE-LABlab(60.40, 44.66, -55.82)
CIE-LCHlch(60.40, 71.49, 308.66°)
OKLaboklab(67.72% 0.091 -0.1574)
OKLCHoklch(67.72% 0.182 300)
XYZxyz(39.7716, 28.5713, 89.7880)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78F5 #C3F578
analogous
#7885F5 #AA78F5 #E978F5
triadic
#AA78F5 #F5AA78 #78F5AA
tetradic
#AA78F5 #F57885 #C3F578 #78F5E9
square
#AA78F5 #F57885 #C3F578 #78F5E9
split-complementary
#AA78F5 #F5E978 #85F578
monochromatic
#6411E2 #863FF1 #AA78F5 #CEB1F9 #EDE3FD

Accessibility & contrast

On white

3.13
#AA78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#AA78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78F5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78F5#FFFFFF#000000##000000
##AA78F51.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#9B90AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78f5;
/* rgb */ color: rgb(170, 120, 245);
/* oklch */ color: oklch(67.7% 0.182 300.0);
Tailwind
colors: {
  custom: {
    50: '#c7a0f9',
    500: '#aa78f5',
    950: '#000000',
  },
}
SCSS
$custom: #aa78f5;
$custom-light: #c7a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78f5",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 264,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67715,
    "c": 0.18182,
    "h": 300
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#AA78F5
secondary
#E8F4D4
accent
#E30389
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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