#AA47B2#AA47B2

#AA47B2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.184 H 324.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA47B2
RGBrgb(170, 71, 178)
HSLhsl(296, 43%, 49%)
HSVhsv(296, 60%, 70%)
CMYKcmyk(4.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(47.32, 55.19, -38.50)
CIE-LCHlch(47.32, 67.29, 325.10°)
OKLaboklab(56.93% 0.1503 -0.1066)
OKLCHoklch(56.93% 0.184 324.6)
XYZxyz(26.8660, 16.2684, 43.8359)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47B2 #4FB247
analogous
#7547B2 #AA47B2 #B24785
triadic
#AA47B2 #B2AA47 #47B2AA
tetradic
#AA47B2 #B27547 #4FB247 #4785B2
square
#AA47B2 #B27547 #4FB247 #4785B2
split-complementary
#AA47B2 #85B247 #47B275
monochromatic
#56245B #803686 #AA47B2 #C070C6 #D39CD7

Accessibility & contrast

On white

4.94
#AA47B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA47B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47B2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47B2#FFFFFF#000000##FFFFFF
##AA47B21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#AD5676
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa47b2;
/* rgb */ color: rgb(170, 71, 178);
/* oklch */ color: oklch(56.9% 0.184 324.6);
Tailwind
colors: {
  custom: {
    50: '#c680c9',
    500: '#aa47b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa47b2;
$custom-light: #c680c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47b2",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 295.514,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.18425,
    "h": 324.6
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#AA47B2
secondary
#95C491
accent
#D3555E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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