#AA72ED#AA72ED

#AA72ED is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.181 H 302.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA72ED
RGBrgb(170, 114, 237)
HSLhsl(267, 77%, 69%)
HSVhsv(267, 52%, 93%)
CMYKcmyk(28.3%, 51.9%, 0%, 7.1%)
CIE-LABlab(58.69, 46.00, -54.11)
CIE-LCHlch(58.69, 71.02, 310.37°)
OKLaboklab(66.31% 0.0982 -0.1524)
OKLCHoklch(66.31% 0.181 302.8)
XYZxyz(37.8775, 26.6951, 83.2615)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA72ED #B5ED72
analogous
#7278ED #AA72ED #E772ED
triadic
#AA72ED #EDAA72 #72EDAA
tetradic
#AA72ED #ED7278 #B5ED72 #72EDE7
square
#AA72ED #ED7278 #B5ED72 #72EDE7
split-complementary
#AA72ED #EDE772 #78ED72
monochromatic
#6A1ACB #893CE6 #AA72ED #CBA8F4 #EBDFFB

Accessibility & contrast

On white

3.31
#AA72ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AA72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA72ED
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA72ED#FFFFFF#000000##000000
##AA72ED1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#9E89A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #aa72ed;
/* rgb */ color: rgb(170, 114, 237);
/* oklch */ color: oklch(66.3% 0.181 302.8);
Tailwind
colors: {
  custom: {
    50: '#c69cf3',
    500: '#aa72ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa72ed;
$custom-light: #c69cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa72ed",
  "rgb": {
    "r": 170,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 267.317,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66305,
    "c": 0.18125,
    "h": 302.8
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#AA72ED
secondary
#DFF0CB
accent
#DA0C7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AA72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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