#AA78FF#AA78FF

#AA78FF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.194 H 298.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AA78FF
RGBrgb(170, 120, 255)
HSLhsl(262, 100%, 74%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(33.3%, 52.9%, 0%, 0%)
CIE-LABlab(60.96, 47.12, -60.45)
CIE-LCHlch(60.96, 76.65, 307.94°)
OKLaboklab(68.31% 0.0916 -0.1709)
OKLCHoklch(68.31% 0.194 298.2)
XYZxyz(41.3396, 29.1985, 98.0463)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78FF #CDFF78
analogous
#7889FF #AA78FF #ED78FF
triadic
#AA78FF #FFAA78 #78FFAA
tetradic
#AA78FF #FF7889 #CDFF78 #78FFED
square
#AA78FF #FF7889 #CDFF78 #78FFED
split-complementary
#AA78FF #FFED78 #89FF78
monochromatic
#5E00FD #833BFF #AA78FF #D1B5FF #ECE0FF

Accessibility & contrast

On white

3.07
#AA78FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AA78FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78FF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78FF#FFFFFF#000000##000000
##AA78FF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#9793B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #aa78ff;
/* rgb */ color: rgb(170, 120, 255);
/* oklch */ color: oklch(68.3% 0.194 298.2);
Tailwind
colors: {
  custom: {
    50: '#c7a0ff',
    500: '#aa78ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ff;
$custom-light: #c7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ff",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 262.222,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.19394,
    "h": 298.2
  },
  "luminance": 0.29199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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