#AA51CE#AA51CE

#AA51CE is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.196 H 315.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA51CE
RGBrgb(170, 81, 206)
HSLhsl(283, 56%, 56%)
HSVhsv(283, 61%, 81%)
CMYKcmyk(17.5%, 60.7%, 0%, 19.2%)
CIE-LABlab(50.56, 56.03, -49.59)
CIE-LCHlch(50.56, 74.82, 318.49°)
OKLaboklab(59.78% 0.1389 -0.139)
OKLCHoklch(59.78% 0.196 315)
XYZxyz(30.6588, 18.8881, 60.4113)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51CE #75CE51
analogous
#6C51CE #AA51CE #CE51B4
triadic
#AA51CE #CEAA51 #51CEAA
tetradic
#AA51CE #CE6C51 #75CE51 #51B4CE
square
#AA51CE #CE6C51 #75CE51 #51B4CE
split-complementary
#AA51CE #B4CE51 #51CE6C
monochromatic
#662480 #8C32B0 #AA51CE #C181DB #D9B1E9

Accessibility & contrast

On white

4.40
#AA51CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AA51CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51CE#FFFFFF#000000##000000
##AA51CE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#A76788
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa51ce;
/* rgb */ color: rgb(170, 81, 206);
/* oklch */ color: oklch(59.8% 0.196 315.0);
Tailwind
colors: {
  custom: {
    50: '#c687dd',
    500: '#aa51ce',
    950: '#000000',
  },
}
SCSS
$custom: #aa51ce;
$custom-light: #c687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51ce",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 282.72,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.19648,
    "h": 315
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#AA51CE
secondary
#B2D7A4
accent
#DF4874
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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