#AA78F9#AA78F9

#AA78F9 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.9% C 0.187 H 299.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#AA78F9
RGBrgb(170, 120, 249)
HSLhsl(263, 91%, 72%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(31.7%, 51.8%, 0%, 2.4%)
CIE-LABlab(60.62, 45.64, -57.68)
CIE-LCHlch(60.62, 73.56, 308.35°)
OKLaboklab(67.95% 0.0913 -0.1628)
OKLCHoklch(67.95% 0.187 299.3)
XYZxyz(40.3888, 28.8182, 93.0388)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78F9 #C7F978
analogous
#7887F9 #AA78F9 #EB78F9
triadic
#AA78F9 #F9AA78 #78F9AA
tetradic
#AA78F9 #F97887 #C7F978 #78F9EB
square
#AA78F9 #F97887 #C7F978 #78F9EB
split-complementary
#AA78F9 #F9EB78 #87F978
monochromatic
#620AEC #853DF6 #AA78F9 #CFB3FC #EDE2FE

Accessibility & contrast

On white

3.10
#AA78F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#AA78F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78F9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78F9#FFFFFF#000000##000000
##AA78F91.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FD
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#9A91AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78f9;
/* rgb */ color: rgb(170, 120, 249);
/* oklch */ color: oklch(67.9% 0.187 299.3);
Tailwind
colors: {
  custom: {
    50: '#c7a0fc',
    500: '#aa78f9',
    950: '#000000',
  },
}
SCSS
$custom: #aa78f9;
$custom-light: #c7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78f9",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 263.256,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67948,
    "c": 0.18668,
    "h": 299.3
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#AA78F9
secondary
#E9F6D5
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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