#AA78FB#AA78FB

#AA78FB is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.189 H 298.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AA78FB
RGBrgb(170, 120, 251)
HSLhsl(263, 94%, 73%)
HSVhsv(263, 52%, 98%)
CMYKcmyk(32.3%, 52.2%, 0%, 1.6%)
CIE-LABlab(60.73, 46.13, -58.61)
CIE-LCHlch(60.73, 74.59, 308.21°)
OKLaboklab(68.07% 0.0914 -0.1655)
OKLCHoklch(68.07% 0.189 298.9)
XYZxyz(40.7024, 28.9436, 94.6904)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78FB #C9FB78
analogous
#7887FB #AA78FB #EC78FB
triadic
#AA78FB #FBAA78 #78FBAA
tetradic
#AA78FB #FB7887 #C9FB78 #78FBEC
square
#AA78FB #FB7887 #C9FB78 #78FBEC
split-complementary
#AA78FB #FBEC78 #87FB78
monochromatic
#6107F1 #853DF9 #AA78FB #CFB3FD #ECE1FE

Accessibility & contrast

On white

3.09
#AA78FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#AA78FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78FB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78FB#FFFFFF#000000##000000
##AA78FB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#9992AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #aa78fb;
/* rgb */ color: rgb(170, 120, 251);
/* oklch */ color: oklch(68.1% 0.189 298.9);
Tailwind
colors: {
  custom: {
    50: '#c7a0fd',
    500: '#aa78fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa78fb;
$custom-light: #c7a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78fb",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 262.901,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68066,
    "c": 0.1891,
    "h": 298.9
  },
  "luminance": 0.28944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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