#AA78FA#AA78FA

#AA78FA is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.0% C 0.188 H 299.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AA78FA
RGBrgb(170, 120, 250)
HSLhsl(263, 93%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32%, 52%, 0%, 2%)
CIE-LABlab(60.68, 45.89, -58.14)
CIE-LCHlch(60.68, 74.07, 308.28°)
OKLaboklab(68.01% 0.0914 -0.1642)
OKLCHoklch(68.01% 0.188 299.1)
XYZxyz(40.5452, 28.8808, 93.8624)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78FA #C8FA78
analogous
#7887FA #AA78FA #EB78FA
triadic
#AA78FA #FAAA78 #78FAAA
tetradic
#AA78FA #FA7887 #C8FA78 #78FAEB
square
#AA78FA #FA7887 #C8FA78 #78FAEB
split-complementary
#AA78FA #FAEB78 #87FA78
monochromatic
#6109EF #853DF8 #AA78FA #CFB3FC #ECE1FE

Accessibility & contrast

On white

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

On black

6.78
#AA78FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78FA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78FA#FFFFFF#000000##000000
##AA78FA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#9991AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78fa;
/* rgb */ color: rgb(170, 120, 250);
/* oklch */ color: oklch(68.0% 0.188 299.1);
Tailwind
colors: {
  custom: {
    50: '#c7a0fc',
    500: '#aa78fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa78fa;
$custom-light: #c7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78fa",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 263.077,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68007,
    "c": 0.18789,
    "h": 299.1
  },
  "luminance": 0.28881
}

Semantic roles & 50–950 ramp

primary
#AA78FA
secondary
#E9F6D5
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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