#AA51BD#AA51BD

#AA51BD is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.180 H 320.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AA51BD
RGBrgb(170, 81, 189)
HSLhsl(289, 45%, 53%)
HSVhsv(289, 57%, 74%)
CMYKcmyk(10.1%, 57.1%, 0%, 25.9%)
CIE-LABlab(49.62, 52.59, -41.27)
CIE-LCHlch(49.62, 66.86, 321.88°)
OKLaboklab(58.8% 0.1382 -0.1148)
OKLCHoklch(58.8% 0.18 320.3)
XYZxyz(28.7042, 18.1063, 50.1171)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA51BD #64BD51
analogous
#7451BD #AA51BD #BD519A
triadic
#AA51BD #BDAA51 #51BDAA
tetradic
#AA51BD #BD7451 #64BD51 #519ABD
square
#AA51BD #BD7451 #64BD51 #519ABD
split-complementary
#AA51BD #9ABD51 #51BD74
monochromatic
#5F296B #873997 #AA51BD #C07DCE #D5AADF

Accessibility & contrast

On white

4.54
#AA51BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AA51BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA51BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA51BD#FFFFFF#000000##000000
##AA51BD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa51bd;
/* rgb */ color: rgb(170, 81, 189);
/* oklch */ color: oklch(58.8% 0.180 320.3);
Tailwind
colors: {
  custom: {
    50: '#c686d1',
    500: '#aa51bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa51bd;
$custom-light: #c686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa51bd",
  "rgb": {
    "r": 170,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 289.444,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.17964,
    "h": 320.3
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#AA51BD
secondary
#A6CC9E
accent
#D5536A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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