#AA78FE#AA78FE

#AA78FE is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.193 H 298.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AA78FE
RGBrgb(170, 120, 254)
HSLhsl(262, 99%, 73%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(33.1%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.90, 46.88, -59.99)
CIE-LCHlch(60.90, 76.13, 308.00°)
OKLaboklab(68.25% 0.0916 -0.1696)
OKLCHoklch(68.25% 0.193 298.4)
XYZxyz(41.1791, 29.1343, 97.2007)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78FE #CCFE78
analogous
#7889FE #AA78FE #ED78FE
triadic
#AA78FE #FEAA78 #78FEAA
tetradic
#AA78FE #FE7889 #CCFE78 #78FEED
square
#AA78FE #FE7889 #CCFE78 #78FEED
split-complementary
#AA78FE #FEED78 #89FE78
monochromatic
#5E02FA #843BFE #AA78FE #D0B5FE #ECE1FF

Accessibility & contrast

On white

3.08
#AA78FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#AA78FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78FE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78FE#FFFFFF#000000##000000
##AA78FE1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#9892B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa78fe;
/* rgb */ color: rgb(170, 120, 254);
/* oklch */ color: oklch(68.2% 0.193 298.4);
Tailwind
colors: {
  custom: {
    50: '#c7a0ff',
    500: '#aa78fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa78fe;
$custom-light: #c7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78fe",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 262.388,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68245,
    "c": 0.19274,
    "h": 298.4
  },
  "luminance": 0.29135
}

Semantic roles & 50–950 ramp

primary
#AA78FE
secondary
#EAF7D4
accent
#E60090
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #AA78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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