#AA72DB#AA72DB

#AA72DB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.160 H 307.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA72DB
RGBrgb(170, 114, 219)
HSLhsl(272, 59%, 65%)
HSVhsv(272, 48%, 86%)
CMYKcmyk(22.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(57.75, 41.80, -45.55)
CIE-LCHlch(57.75, 61.82, 312.54°)
OKLaboklab(65.3% 0.0965 -0.1274)
OKLCHoklch(65.3% 0.16 307.1)
XYZxyz(35.3785, 25.6955, 70.1001)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72DB #A3DB72
analogous
#7572DB #AA72DB #DB72D7
triadic
#AA72DB #DBAA72 #72DBAA
tetradic
#AA72DB #DB7572 #A3DB72 #72D7DB
square
#AA72DB #DB7572 #A3DB72 #72D7DB
split-complementary
#AA72DB #D7DB72 #72DB75
monochromatic
#6D2BA8 #8D41CF #AA72DB #C7A3E7 #E5D4F4

Accessibility & contrast

On white

3.42
#AA72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#AA72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72DB#FFFFFF#000000##000000
##AA72DB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#658BD8
Tritanopia (blue-blind)
#A3849C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa72db;
/* rgb */ color: rgb(170, 114, 219);
/* oklch */ color: oklch(65.3% 0.160 307.1);
Tailwind
colors: {
  custom: {
    50: '#c59ce6',
    500: '#aa72db',
    950: '#000000',
  },
}
SCSS
$custom: #aa72db;
$custom-light: #c59ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72db",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 272,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.15979,
    "h": 307.1
  },
  "luminance": 0.25695
}

Semantic roles & 50–950 ramp

primary
#AA72DB
secondary
#D3E6C3
accent
#C71F6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AA72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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