#AA51CC#AA51CC

#AA51CC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.194 H 315.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AA51CC
RGBrgb(170, 81, 204)
HSLhsl(283, 55%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(16.7%, 60.3%, 0%, 20%)
CIE-LABlab(50.44, 55.61, -48.63)
CIE-LCHlch(50.44, 73.87, 318.84°)
OKLaboklab(59.66% 0.1388 -0.1362)
OKLCHoklch(59.66% 0.194 315.5)
XYZxyz(30.4174, 18.7916, 59.1399)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51CC #73CC51
analogous
#6C51CC #AA51CC #CC51B0
triadic
#AA51CC #CCAA51 #51CCAA
tetradic
#AA51CC #CC6C51 #73CC51 #51B0CC
square
#AA51CC #CC6C51 #73CC51 #51B0CC
split-complementary
#AA51CC #B0CC51 #51CC6C
monochromatic
#65257E #8B33AD #AA51CC #C180DA #D8B0E8

Accessibility & contrast

On white

4.41
#AA51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#AA51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51CC#FFFFFF#000000##000000
##AA51CC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D0
Deuteranopia (green-blind)
#507BC9
Tritanopia (blue-blind)
#A86687
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa51cc;
/* rgb */ color: rgb(170, 81, 204);
/* oklch */ color: oklch(59.7% 0.194 315.5);
Tailwind
colors: {
  custom: {
    50: '#c687dc',
    500: '#aa51cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa51cc;
$custom-light: #c687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51cc",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 283.415,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.19448,
    "h": 315.5
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#AA51CC
secondary
#B1D6A3
accent
#DE4A73
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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