#AA78DC#AA78DC

#AA78DC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.151 H 305.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA78DC
RGBrgb(170, 120, 220)
HSLhsl(270, 59%, 67%)
HSVhsv(270, 45%, 86%)
CMYKcmyk(22.7%, 45.5%, 0%, 13.7%)
CIE-LABlab(59.11, 38.72, -43.96)
CIE-LCHlch(59.11, 58.57, 311.37°)
OKLaboklab(66.33% 0.0884 -0.1228)
OKLCHoklch(66.33% 0.151 305.7)
XYZxyz(36.2096, 27.1465, 71.0285)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA78DC #AADC78
analogous
#7878DC #AA78DC #DC78DC
triadic
#AA78DC #DCAA78 #78DCAA
tetradic
#AA78DC #DC7878 #AADC78 #78DCDC
square
#AA78DC #DC7878 #AADC78 #78DCDC
split-complementary
#AA78DC #DCDC78 #78DC78
monochromatic
#6D2DAD #8B47CF #AA78DC #C9A9E9 #E7D9F5

Accessibility & contrast

On white

3.27
#AA78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#AA78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA78DC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA78DC#FFFFFF#000000##000000
##AA78DC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa78dc;
/* rgb */ color: rgb(170, 120, 220);
/* oklch */ color: oklch(66.3% 0.151 305.7);
Tailwind
colors: {
  custom: {
    50: '#c5a0e7',
    500: '#aa78dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa78dc;
$custom-light: #c5a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa78dc",
  "rgb": {
    "r": 170,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66332,
    "c": 0.15127,
    "h": 305.7
  },
  "luminance": 0.27146
}

Semantic roles & 50–950 ramp

primary
#AA78DC
secondary
#D8E8C8
accent
#C61F73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AA78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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