#AA72FC#AA72FC

#AA72FC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.199 H 299.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AA72FC
RGBrgb(170, 114, 252)
HSLhsl(264, 96%, 72%)
HSVhsv(264, 55%, 99%)
CMYKcmyk(32.5%, 54.8%, 0%, 1.2%)
CIE-LABlab(59.53, 49.62, -61.07)
CIE-LCHlch(59.53, 78.69, 309.09°)
OKLaboklab(67.2% 0.0988 -0.1728)
OKLCHoklch(67.2% 0.199 299.8)
XYZxyz(40.1613, 27.6086, 95.2897)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72FC #C4FC72
analogous
#727FFC #AA72FC #EF72FC
triadic
#AA72FC #FCAA72 #72FCAA
tetradic
#AA72FC #FC727F #C4FC72 #72FCEF
square
#AA72FC #FC727F #C4FC72 #72FCEF
split-complementary
#AA72FC #FCEF72 #7FFC72
monochromatic
#6405EF #8636FB #AA72FC #CEAEFD #EDE1FE

Accessibility & contrast

On white

3.22
#AA72FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AA72FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72FC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72FC#FFFFFF#000000##000000
##AA72FC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#998EAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa72fc;
/* rgb */ color: rgb(170, 114, 252);
/* oklch */ color: oklch(67.2% 0.199 299.8);
Tailwind
colors: {
  custom: {
    50: '#c79cfe',
    500: '#aa72fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa72fc;
$custom-light: #c79cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72fc",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 264.348,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67199,
    "c": 0.19905,
    "h": 299.8
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#AA72FC
secondary
#E8F6D3
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AA72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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