#AA47BA#AA47BA

#AA47BA is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.192 H 321.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA47BA
RGBrgb(170, 71, 186)
HSLhsl(292, 45%, 50%)
HSVhsv(292, 62%, 73%)
CMYKcmyk(8.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(47.75, 56.68, -42.50)
CIE-LCHlch(47.75, 70.85, 323.14°)
OKLaboklab(57.38% 0.1507 -0.1183)
OKLCHoklch(57.38% 0.192 321.9)
XYZxyz(27.6928, 16.5991, 48.1901)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47BA #57BA47
analogous
#7047BA #AA47BA #BA4791
triadic
#AA47BA #BAAA47 #47BAAA
tetradic
#AA47BA #BA7047 #57BA47 #4791BA
square
#AA47BA #BA7047 #57BA47 #4791BA
split-complementary
#AA47BA #91BA47 #47BA70
monochromatic
#592562 #82358E #AA47BA #BF74CB #D3A0DB

Accessibility & contrast

On white

4.86
#AA47BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AA47BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47BA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47BA#FFFFFF#000000##FFFFFF
##AA47BA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#AC597A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa47ba;
/* rgb */ color: rgb(170, 71, 186);
/* oklch */ color: oklch(57.4% 0.192 321.9);
Tailwind
colors: {
  custom: {
    50: '#c680cf',
    500: '#aa47ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa47ba;
$custom-light: #c680cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47ba",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 291.652,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.19154,
    "h": 321.9
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#AA47BA
secondary
#9CC895
accent
#D55365
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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