#AA47D4#AA47D4

#AA47D4 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.216 H 314.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA47D4
RGBrgb(170, 71, 212)
HSLhsl(282, 62%, 55%)
HSVhsv(282, 67%, 83%)
CMYKcmyk(19.8%, 66.5%, 0%, 16.9%)
CIE-LABlab(49.26, 61.81, -55.10)
CIE-LCHlch(49.26, 82.80, 318.29°)
OKLaboklab(58.96% 0.1503 -0.1551)
OKLCHoklch(58.96% 0.216 314.1)
XYZxyz(30.7125, 17.8070, 64.0938)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47D4 #71D447
analogous
#6347D4 #AA47D4 #D447B7
triadic
#AA47D4 #D4AA47 #47D4AA
tetradic
#AA47D4 #D46347 #71D447 #47B7D4
square
#AA47D4 #D46347 #71D447 #47B7D4
split-complementary
#AA47D4 #B7D447 #47D463
monochromatic
#641E82 #8B2AB4 #AA47D4 #C179E0 #D8AAEB

Accessibility & contrast

On white

4.60
#AA47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#AA47D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47D4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47D4#FFFFFF#000000##FFFFFF
##AA47D41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#4078D1
Tritanopia (blue-blind)
#A66388
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa47d4;
/* rgb */ color: rgb(170, 71, 212);
/* oklch */ color: oklch(59.0% 0.216 314.1);
Tailwind
colors: {
  custom: {
    50: '#c781e2',
    500: '#aa47d4',
    950: '#000000',
  },
}
SCSS
$custom: #aa47d4;
$custom-light: #c781e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47d4",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 282.128,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.21594,
    "h": 314.1
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#AA47D4
secondary
#B0D99E
accent
#E54373
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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