#AA51BC#AA51BC

#AA51BC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.7% C 0.179 H 320.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AA51BC
RGBrgb(170, 81, 188)
HSLhsl(290, 44%, 53%)
HSVhsv(290, 57%, 74%)
CMYKcmyk(9.6%, 56.9%, 0%, 26.3%)
CIE-LABlab(49.57, 52.40, -40.78)
CIE-LCHlch(49.57, 66.39, 322.11°)
OKLaboklab(58.74% 0.1381 -0.1133)
OKLCHoklch(58.74% 0.179 320.6)
XYZxyz(28.5960, 18.0630, 49.5474)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51BC #63BC51
analogous
#7551BC #AA51BC #BC5198
triadic
#AA51BC #BCAA51 #51BCAA
tetradic
#AA51BC #BC7551 #63BC51 #5198BC
square
#AA51BC #BC7551 #63BC51 #5198BC
split-complementary
#AA51BC #98BC51 #51BC75
monochromatic
#5F296A #873A96 #AA51BC #C07DCD #D5A9DE

Accessibility & contrast

On white

4.55
#AA51BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AA51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51BC#FFFFFF#000000##000000
##AA51BC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70BF
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#AB617F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa51bc;
/* rgb */ color: rgb(170, 81, 188);
/* oklch */ color: oklch(58.7% 0.179 320.6);
Tailwind
colors: {
  custom: {
    50: '#c686d0',
    500: '#aa51bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa51bc;
$custom-light: #c686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51bc",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 289.907,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.17867,
    "h": 320.6
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#AA51BC
secondary
#A5CC9D
accent
#D45469
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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