#AA47BB#AA47BB

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

Color values

HEX#AA47BB
RGBrgb(170, 71, 187)
HSLhsl(291, 46%, 51%)
HSVhsv(291, 62%, 73%)
CMYKcmyk(9.1%, 62%, 0%, 26.7%)
CIE-LABlab(47.81, 56.87, -43.00)
CIE-LCHlch(47.81, 71.30, 322.91°)
OKLaboklab(57.44% 0.1507 -0.1197)
OKLCHoklch(57.44% 0.192 321.5)
XYZxyz(27.7995, 16.6418, 48.7520)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47BB #58BB47
analogous
#7047BB #AA47BB #BB4792
triadic
#AA47BB #BBAA47 #47BBAA
tetradic
#AA47BB #BB7047 #58BB47 #4792BB
square
#AA47BB #BB7047 #58BB47 #4792BB
split-complementary
#AA47BB #92BB47 #47BB70
monochromatic
#5A2563 #823590 #AA47BB #BF74CC #D3A0DC

Accessibility & contrast

On white

4.85
#AA47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AA47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47BB#FFFFFF#000000##FFFFFF
##AA47BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#AC597B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa47bb;
/* rgb */ color: rgb(170, 71, 187);
/* oklch */ color: oklch(57.4% 0.192 321.5);
Tailwind
colors: {
  custom: {
    50: '#c680d0',
    500: '#aa47bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa47bb;
$custom-light: #c680d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47bb",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 291.207,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.19245,
    "h": 321.5
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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