#AA72CB#AA72CB

#AA72CB is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.141 H 312.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA72CB
RGBrgb(170, 114, 203)
HSLhsl(278, 46%, 62%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(16.3%, 43.8%, 0%, 20.4%)
CIE-LABlab(56.97, 38.21, -37.73)
CIE-LCHlch(56.97, 53.70, 315.36°)
OKLaboklab(64.46% 0.0942 -0.1047)
OKLCHoklch(64.46% 0.141 312)
XYZxyz(33.3725, 24.8931, 59.5351)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72CB #93CB72
analogous
#7E72CB #AA72CB #CB72BF
triadic
#AA72CB #CBAA72 #72CBAA
tetradic
#AA72CB #CB7E72 #93CB72 #72BFCB
square
#AA72CB #CB7E72 #93CB72 #72BFCB
split-complementary
#AA72CB #BFCB72 #72CB7E
monochromatic
#6D348E #8F45BB #AA72CB #C59FDB #E0CBEC

Accessibility & contrast

On white

3.51
#AA72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AA72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72CB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72CB#FFFFFF#000000##000000
##AA72CB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CE
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#A77F95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #aa72cb;
/* rgb */ color: rgb(170, 114, 203);
/* oklch */ color: oklch(64.5% 0.141 312.0);
Tailwind
colors: {
  custom: {
    50: '#c59cdb',
    500: '#aa72cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa72cb;
$custom-light: #c59cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72cb",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 277.753,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.14083,
    "h": 312
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#AA72CB
secondary
#C8DDBC
accent
#B92C61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AA72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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