#AA78DD#AA78DD

#AA78DD is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.152 H 305.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AA78DD
RGBrgb(170, 120, 221)
HSLhsl(270, 60%, 67%)
HSVhsv(270, 46%, 87%)
CMYKcmyk(23.1%, 45.7%, 0%, 13.3%)
CIE-LABlab(59.16, 38.95, -44.44)
CIE-LCHlch(59.16, 59.09, 311.23°)
OKLaboklab(66.38% 0.0885 -0.1242)
OKLCHoklch(66.38% 0.152 305.5)
XYZxyz(36.3425, 27.1997, 71.7281)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78DD #ABDD78
analogous
#7879DD #AA78DD #DD78DD
triadic
#AA78DD #DDAA78 #78DDAA
tetradic
#AA78DD #DD7879 #ABDD78 #78DDDD
square
#AA78DD #DD7879 #ABDD78 #78DDDD
split-complementary
#AA78DD #DDDD78 #79DD78
monochromatic
#6D2CAF #8B47D1 #AA78DD #C9A9E9 #E8DAF6

Accessibility & contrast

On white

3.26
#AA78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AA78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78DD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78DD#FFFFFF#000000##000000
##AA78DD1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#A289A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa78dd;
/* rgb */ color: rgb(170, 120, 221);
/* oklch */ color: oklch(66.4% 0.152 305.5);
Tailwind
colors: {
  custom: {
    50: '#c5a0e8',
    500: '#aa78dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa78dd;
$custom-light: #c5a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78dd",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 269.703,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66384,
    "c": 0.15249,
    "h": 305.5
  },
  "luminance": 0.27199
}

Semantic roles & 50–950 ramp

primary
#AA78DD
secondary
#D9E9C8
accent
#C71E74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AA78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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