#AA78F6#AA78F6

#AA78F6 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.8% C 0.183 H 299.9°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AA78F6
RGBrgb(170, 120, 246)
HSLhsl(264, 88%, 72%)
HSVhsv(264, 51%, 96%)
CMYKcmyk(30.9%, 51.2%, 0%, 3.5%)
CIE-LABlab(60.46, 44.91, -56.29)
CIE-LCHlch(60.46, 72.01, 308.58°)
OKLaboklab(67.77% 0.0911 -0.1587)
OKLCHoklch(67.77% 0.183 299.9)
XYZxyz(39.9246, 28.6325, 90.5942)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78F6 #C4F678
analogous
#7885F6 #AA78F6 #E978F6
triadic
#AA78F6 #F6AA78 #78F6AA
tetradic
#AA78F6 #F67885 #C4F678 #78F6E9
square
#AA78F6 #F67885 #C4F678 #78F6E9
split-complementary
#AA78F6 #F6E978 #85F678
monochromatic
#640FE4 #863FF2 #AA78F6 #CEB1FA #EDE2FD

Accessibility & contrast

On white

3.12
#AA78F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AA78F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78F6
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78F6#FFFFFF#000000##000000
##AA78F61.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91FA
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#9B90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78f6;
/* rgb */ color: rgb(170, 120, 246);
/* oklch */ color: oklch(67.8% 0.183 299.9);
Tailwind
colors: {
  custom: {
    50: '#c7a0fa',
    500: '#aa78f6',
    950: '#000000',
  },
}
SCSS
$custom: #aa78f6;
$custom-light: #c7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78f6",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 263.81,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67773,
    "c": 0.18304,
    "h": 299.9
  },
  "luminance": 0.28633
}

Semantic roles & 50–950 ramp

primary
#AA78F6
secondary
#E8F5D5
accent
#E4018A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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