#AA78EE#AA78EE

#AA78EE is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.173 H 301.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AA78EE
RGBrgb(170, 120, 238)
HSLhsl(265, 78%, 70%)
HSVhsv(265, 50%, 93%)
CMYKcmyk(28.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(60.03, 42.97, -52.54)
CIE-LCHlch(60.03, 67.88, 309.27°)
OKLaboklab(67.31% 0.0905 -0.1478)
OKLCHoklch(67.31% 0.173 301.5)
XYZxyz(38.7231, 28.1519, 84.2662)
Luminance0.2815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78EE #BCEE78
analogous
#7881EE #AA78EE #E578EE
triadic
#AA78EE #EEAA78 #78EEAA
tetradic
#AA78EE #EE7881 #BCEE78 #78EEE5
square
#AA78EE #EE7881 #BCEE78 #78EEE5
split-complementary
#AA78EE #EEE578 #81EE78
monochromatic
#681AD1 #8842E7 #AA78EE #CCAEF5 #EEE4FC

Accessibility & contrast

On white

3.17
#AA78EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AA78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78EE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78EE#FFFFFF#000000##000000
##AA78EE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#9D8EA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa78ee;
/* rgb */ color: rgb(170, 120, 238);
/* oklch */ color: oklch(67.3% 0.173 301.5);
Tailwind
colors: {
  custom: {
    50: '#c6a0f4',
    500: '#aa78ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa78ee;
$custom-light: #c6a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78ee",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 265.424,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67314,
    "c": 0.17328,
    "h": 301.5
  },
  "luminance": 0.28152
}

Semantic roles & 50–950 ramp

primary
#AA78EE
secondary
#E3F1D1
accent
#DA0C82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AA78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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