#AA47BD#AA47BD

#AA47BD is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.194 H 320.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AA47BD
RGBrgb(170, 71, 189)
HSLhsl(290, 47%, 51%)
HSVhsv(290, 62%, 74%)
CMYKcmyk(10.1%, 62.4%, 0%, 25.9%)
CIE-LABlab(47.92, 57.25, -43.99)
CIE-LCHlch(47.92, 72.20, 322.47°)
OKLaboklab(57.55% 0.1507 -0.1226)
OKLCHoklch(57.55% 0.194 320.9)
XYZxyz(28.0150, 16.7280, 49.8874)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47BD #5ABD47
analogous
#6F47BD #AA47BD #BD4795
triadic
#AA47BD #BDAA47 #47BDAA
tetradic
#AA47BD #BD6F47 #5ABD47 #4795BD
square
#AA47BD #BD6F47 #5ABD47 #4795BD
split-complementary
#AA47BD #95BD47 #47BD6F
monochromatic
#5B2465 #833492 #AA47BD #BF74CD #D4A1DD

Accessibility & contrast

On white

4.83
#AA47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AA47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47BD#FFFFFF#000000##FFFFFF
##AA47BD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC1
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#AB5A7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa47bd;
/* rgb */ color: rgb(170, 71, 189);
/* oklch */ color: oklch(57.6% 0.194 320.9);
Tailwind
colors: {
  custom: {
    50: '#c681d1',
    500: '#aa47bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa47bd;
$custom-light: #c681d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47bd",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 290.339,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.1943,
    "h": 320.9
  },
  "luminance": 0.16727
}

Semantic roles & 50–950 ramp

primary
#AA47BD
secondary
#9ECA96
accent
#D75167
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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