#AA72EB#AA72EB

#AA72EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.179 H 303.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AA72EB
RGBrgb(170, 114, 235)
HSLhsl(268, 75%, 68%)
HSVhsv(268, 51%, 92%)
CMYKcmyk(27.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(58.58, 45.53, -53.17)
CIE-LCHlch(58.58, 70.00, 310.57°)
OKLaboklab(66.19% 0.098 -0.1496)
OKLCHoklch(66.19% 0.179 303.2)
XYZxyz(37.5869, 26.5789, 81.7312)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72EB #B3EB72
analogous
#7276EB #AA72EB #E772EB
triadic
#AA72EB #EBAA72 #72EBAA
tetradic
#AA72EB #EB7276 #B3EB72 #72EBE7
square
#AA72EB #EB7276 #B3EB72 #72EBE7
split-complementary
#AA72EB #EBE772 #76EB72
monochromatic
#6B1CC6 #8A3CE3 #AA72EB #CAA8F3 #EBDDFA

Accessibility & contrast

On white

3.32
#AA72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#AA72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72EB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72EB#FFFFFF#000000##000000
##AA72EB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#9E88A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa72eb;
/* rgb */ color: rgb(170, 114, 235);
/* oklch */ color: oklch(66.2% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#c69cf2',
    500: '#aa72eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa72eb;
$custom-light: #c69cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72eb",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 267.769,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6619,
    "c": 0.17887,
    "h": 303.2
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#AA72EB
secondary
#DEEFCA
accent
#D70E7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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