#AA47BC#AA47BC

#AA47BC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.193 H 321.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA47BC
RGBrgb(170, 71, 188)
HSLhsl(291, 47%, 51%)
HSVhsv(291, 62%, 74%)
CMYKcmyk(9.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(47.86, 57.06, -43.49)
CIE-LCHlch(47.86, 71.75, 322.69°)
OKLaboklab(57.5% 0.1507 -0.1211)
OKLCHoklch(57.5% 0.193 321.2)
XYZxyz(27.9069, 16.6847, 49.3177)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47BC #59BC47
analogous
#6F47BC #AA47BC #BC4793
triadic
#AA47BC #BCAA47 #47BCAA
tetradic
#AA47BC #BC6F47 #59BC47 #4793BC
square
#AA47BC #BC6F47 #59BC47 #4793BC
split-complementary
#AA47BC #93BC47 #47BC6F
monochromatic
#5A2464 #833591 #AA47BC #BF74CC #D3A1DD

Accessibility & contrast

On white

4.84
#AA47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AA47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47BC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47BC#FFFFFF#000000##FFFFFF
##AA47BC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#AC5A7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa47bc;
/* rgb */ color: rgb(170, 71, 188);
/* oklch */ color: oklch(57.5% 0.193 321.2);
Tailwind
colors: {
  custom: {
    50: '#c680d1',
    500: '#aa47bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa47bc;
$custom-light: #c680d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47bc",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 290.769,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.19337,
    "h": 321.2
  },
  "luminance": 0.16683
}

Semantic roles & 50–950 ramp

primary
#AA47BC
secondary
#9DC995
accent
#D65266
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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