#AA47D8#AA47D8

#AA47D8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.220 H 313.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA47D8
RGBrgb(170, 71, 216)
HSLhsl(281, 65%, 56%)
HSVhsv(281, 67%, 85%)
CMYKcmyk(21.3%, 67.1%, 0%, 15.3%)
CIE-LABlab(49.51, 62.63, -56.98)
CIE-LCHlch(49.51, 84.67, 317.70°)
OKLaboklab(59.22% 0.15 -0.1606)
OKLCHoklch(59.22% 0.22 313)
XYZxyz(31.2233, 18.0113, 66.7842)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47D8 #75D847
analogous
#6247D8 #AA47D8 #D847BD
triadic
#AA47D8 #D8AA47 #47D8AA
tetradic
#AA47D8 #D86247 #75D847 #47BDD8
square
#AA47D8 #D86247 #75D847 #47BDD8
split-complementary
#AA47D8 #BDD847 #47D862
monochromatic
#661D88 #8C27BA #AA47D8 #C179E3 #D9ACED

Accessibility & contrast

On white

4.56
#AA47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AA47D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47D8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47D8#FFFFFF#000000##000000
##AA47D81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#A5648A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa47d8;
/* rgb */ color: rgb(170, 71, 216);
/* oklch */ color: oklch(59.2% 0.220 313.0);
Tailwind
colors: {
  custom: {
    50: '#c781e5',
    500: '#aa47d8',
    950: '#000000',
  },
}
SCSS
$custom: #aa47d8;
$custom-light: #c781e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47d8",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 280.966,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59215,
    "c": 0.21976,
    "h": 313
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#AA47D8
secondary
#B2DBA0
accent
#E84075
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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