#AA51C2#AA51C2

#AA51C2 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.1% C 0.185 H 318.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA51C2
RGBrgb(170, 81, 194)
HSLhsl(287, 48%, 54%)
HSVhsv(287, 58%, 76%)
CMYKcmyk(12.4%, 58.2%, 0%, 23.9%)
CIE-LABlab(49.89, 53.59, -43.75)
CIE-LCHlch(49.89, 69.17, 320.77°)
OKLaboklab(59.08% 0.1385 -0.122)
OKLCHoklch(59.08% 0.185 318.6)
XYZxyz(29.2563, 18.3271, 53.0249)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51C2 #69C251
analogous
#7251C2 #AA51C2 #C251A2
triadic
#AA51C2 #C2AA51 #51C2AA
tetradic
#AA51C2 #C27251 #69C251 #51A2C2
square
#AA51C2 #C27251 #69C251 #51A2C2
split-complementary
#AA51C2 #A2C251 #51C272
monochromatic
#612871 #88379E #AA51C2 #C07ED2 #D6ACE2

Accessibility & contrast

On white

4.50
#AA51C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AA51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51C2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51C2#FFFFFF#000000##000000
##AA51C21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3671C6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#AA6382
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa51c2;
/* rgb */ color: rgb(170, 81, 194);
/* oklch */ color: oklch(59.1% 0.185 318.6);
Tailwind
colors: {
  custom: {
    50: '#c686d5',
    500: '#aa51c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa51c2;
$custom-light: #c686d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51c2",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 287.257,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.18454,
    "h": 318.6
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#AA51C2
secondary
#AAD09F
accent
#D8506D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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