#AA72DF#AA72DF

#AA72DF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.165 H 306.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA72DF
RGBrgb(170, 114, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 49%, 87%)
CMYKcmyk(23.8%, 48.9%, 0%, 12.5%)
CIE-LABlab(57.95, 42.72, -47.47)
CIE-LCHlch(57.95, 63.86, 311.98°)
OKLaboklab(65.52% 0.0969 -0.133)
OKLCHoklch(65.52% 0.165 306.1)
XYZxyz(35.9114, 25.9087, 72.9067)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72DF #A7DF72
analogous
#7372DF #AA72DF #DF72DD
triadic
#AA72DF #DFAA72 #72DFAA
tetradic
#AA72DF #DF7372 #A7DF72 #72DDDF
square
#AA72DF #DF7372 #A7DF72 #72DDDF
split-complementary
#AA72DF #DDDF72 #72DF73
monochromatic
#6D28AF #8C40D4 #AA72DF #C8A4EA #E6D6F6

Accessibility & contrast

On white

3.40
#AA72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AA72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72DF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72DF#FFFFFF#000000##000000
##AA72DF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#638CDC
Tritanopia (blue-blind)
#A2859E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa72df;
/* rgb */ color: rgb(170, 114, 223);
/* oklch */ color: oklch(65.5% 0.165 306.1);
Tailwind
colors: {
  custom: {
    50: '#c69ce9',
    500: '#aa72df',
    950: '#000000',
  },
}
SCSS
$custom: #aa72df;
$custom-light: #c69ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72df",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 270.826,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.16456,
    "h": 306.1
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#AA72DF
secondary
#D6E8C4
accent
#CB1B70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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