#AA72DC#AA72DC

#AA72DC is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.161 H 306.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA72DC
RGBrgb(170, 114, 220)
HSLhsl(272, 60%, 65%)
HSVhsv(272, 48%, 86%)
CMYKcmyk(22.7%, 48.2%, 0%, 13.7%)
CIE-LABlab(57.80, 42.02, -46.03)
CIE-LCHlch(57.80, 62.33, 312.40°)
OKLaboklab(65.35% 0.0966 -0.1288)
OKLCHoklch(65.35% 0.161 306.9)
XYZxyz(35.5105, 25.7483, 70.7955)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72DC #A4DC72
analogous
#7572DC #AA72DC #DC72D9
triadic
#AA72DC #DCAA72 #72DCAA
tetradic
#AA72DC #DC7572 #A4DC72 #72D9DC
square
#AA72DC #DC7572 #A4DC72 #72D9DC
split-complementary
#AA72DC #D9DC72 #72DC75
monochromatic
#6D2AAA #8C41D0 #AA72DC #C8A3E8 #E5D4F4

Accessibility & contrast

On white

3.41
#AA72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AA72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72DC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72DC#FFFFFF#000000##000000
##AA72DC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#A3849D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa72dc;
/* rgb */ color: rgb(170, 114, 220);
/* oklch */ color: oklch(65.4% 0.161 306.9);
Tailwind
colors: {
  custom: {
    50: '#c59ce7',
    500: '#aa72dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa72dc;
$custom-light: #c59ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72dc",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 271.698,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.16098,
    "h": 306.9
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#AA72DC
secondary
#D4E7C3
accent
#C81E6E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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