#AA51D0#AA51D0

#AA51D0 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.9% C 0.198 H 314.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA51D0
RGBrgb(170, 81, 208)
HSLhsl(282, 57%, 57%)
HSVhsv(282, 61%, 82%)
CMYKcmyk(18.3%, 61.1%, 0%, 18.4%)
CIE-LABlab(50.67, 56.44, -50.55)
CIE-LCHlch(50.67, 75.77, 318.15°)
OKLaboklab(59.9% 0.1389 -0.1418)
OKLCHoklch(59.9% 0.198 314.4)
XYZxyz(30.9033, 18.9859, 61.6990)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51D0 #77D051
analogous
#6B51D0 #AA51D0 #D051B7
triadic
#AA51D0 #D0AA51 #51D0AA
tetradic
#AA51D0 #D06B51 #77D051 #51B7D0
square
#AA51D0 #D06B51 #77D051 #51B7D0
split-complementary
#AA51D0 #B7D051 #51D06B
monochromatic
#672383 #8C30B3 #AA51D0 #C281DD #D9B1EA

Accessibility & contrast

On white

4.38
#AA51D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AA51D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51D0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51D0#FFFFFF#000000##000000
##AA51D01.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2574D4
Deuteranopia (green-blind)
#4D7BCD
Tritanopia (blue-blind)
#A76889
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa51d0;
/* rgb */ color: rgb(170, 81, 208);
/* oklch */ color: oklch(59.9% 0.198 314.4);
Tailwind
colors: {
  custom: {
    50: '#c687df',
    500: '#aa51d0',
    950: '#000000',
  },
}
SCSS
$custom: #aa51d0;
$custom-light: #c687df;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51d0",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 282.047,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.19848,
    "h": 314.4
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#AA51D0
secondary
#B4D8A4
accent
#E14775
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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