#AA79DC#AA79DC

#AA79DC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.150 H 305.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AA79DC
RGBrgb(170, 121, 220)
HSLhsl(270, 59%, 67%)
HSVhsv(270, 45%, 86%)
CMYKcmyk(22.7%, 45%, 0%, 13.7%)
CIE-LABlab(59.33, 38.16, -43.61)
CIE-LCHlch(59.33, 57.94, 311.19°)
OKLaboklab(66.5% 0.087 -0.1217)
OKLCHoklch(66.5% 0.15 305.5)
XYZxyz(36.3305, 27.3883, 71.0688)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA79DC #ABDC79
analogous
#797ADC #AA79DC #DC79DC
triadic
#AA79DC #DCAA79 #79DCAA
tetradic
#AA79DC #DC797A #ABDC79 #79DCDC
square
#AA79DC #DC797A #ABDC79 #79DCDC
split-complementary
#AA79DC #DCDC79 #7ADC79
monochromatic
#6D2DAD #8B48CF #AA79DC #C9AAE9 #E8DAF5

Accessibility & contrast

On white

3.24
#AA79DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#AA79DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA79DC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA79DC#FFFFFF#000000##000000
##AA79DC1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#A289A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa79dc;
/* rgb */ color: rgb(170, 121, 220);
/* oklch */ color: oklch(66.5% 0.150 305.5);
Tailwind
colors: {
  custom: {
    50: '#c5a0e7',
    500: '#aa79dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa79dc;
$custom-light: #c5a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa79dc",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 269.697,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66498,
    "c": 0.14963,
    "h": 305.5
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#AA79DC
secondary
#D9E8C9
accent
#C61F74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AA79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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