#AA72FB#AA72FB

#AA72FB is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.198 H 300.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AA72FB
RGBrgb(170, 114, 251)
HSLhsl(265, 94%, 72%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(32.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(59.48, 49.38, -60.62)
CIE-LCHlch(59.48, 78.18, 309.17°)
OKLaboklab(67.14% 0.0988 -0.1714)
OKLCHoklch(67.14% 0.198 300)
XYZxyz(40.0033, 27.5454, 94.4573)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72FB #C3FB72
analogous
#727FFB #AA72FB #EF72FB
triadic
#AA72FB #FBAA72 #72FBAA
tetradic
#AA72FB #FB727F #C3FB72 #72FBEF
square
#AA72FB #FB727F #C3FB72 #72FBEF
split-complementary
#AA72FB #FBEF72 #7FFB72
monochromatic
#6407EC #8636F9 #AA72FB #CEAEFD #EDE1FE

Accessibility & contrast

On white

3.23
#AA72FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AA72FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72FB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72FB#FFFFFF#000000##000000
##AA72FB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#998DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #aa72fb;
/* rgb */ color: rgb(170, 114, 251);
/* oklch */ color: oklch(67.1% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#c79cfd',
    500: '#aa72fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa72fb;
$custom-light: #c79cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72fb",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 264.526,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67138,
    "c": 0.19786,
    "h": 300
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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