#AA78F7#AA78F7

#AA78F7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.184 H 299.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#AA78F7
RGBrgb(170, 120, 247)
HSLhsl(264, 89%, 72%)
HSVhsv(264, 51%, 97%)
CMYKcmyk(31.2%, 51.4%, 0%, 3.1%)
CIE-LABlab(60.51, 45.15, -56.75)
CIE-LCHlch(60.51, 72.52, 308.50°)
OKLaboklab(67.83% 0.0912 -0.1601)
OKLCHoklch(67.83% 0.184 299.7)
XYZxyz(40.0785, 28.6941, 91.4047)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78F7 #C5F778
analogous
#7886F7 #AA78F7 #E978F7
triadic
#AA78F7 #F7AA78 #78F7AA
tetradic
#AA78F7 #F77886 #C5F778 #78F7E9
square
#AA78F7 #F77886 #C5F778 #78F7E9
split-complementary
#AA78F7 #F7E978 #86F778
monochromatic
#630EE7 #863EF4 #AA78F7 #CEB2FA #EDE2FD

Accessibility & contrast

On white

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

On black

6.74
#AA78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78F7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78F7#FFFFFF#000000##000000
##AA78F71.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A92FB
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#9A90AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78f7;
/* rgb */ color: rgb(170, 120, 247);
/* oklch */ color: oklch(67.8% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#c7a0fa',
    500: '#aa78f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa78f7;
$custom-light: #c7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78f7",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 263.622,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67831,
    "c": 0.18425,
    "h": 299.7
  },
  "luminance": 0.28694
}

Semantic roles & 50–950 ramp

primary
#AA78F7
secondary
#E9F5D5
accent
#E5008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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