#AA47CB#AA47CB

#AA47CB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.4% C 0.207 H 316.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AA47CB
RGBrgb(170, 71, 203)
HSLhsl(285, 56%, 54%)
HSVhsv(285, 65%, 80%)
CMYKcmyk(16.3%, 65%, 0%, 20.4%)
CIE-LABlab(48.72, 59.99, -50.81)
CIE-LCHlch(48.72, 78.61, 319.74°)
OKLaboklab(58.39% 0.1507 -0.1425)
OKLCHoklch(58.39% 0.207 316.6)
XYZxyz(29.6087, 17.3655, 58.2805)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47CB #68CB47
analogous
#6847CB #AA47CB #CB47AA
triadic
#AA47CB #CBAA47 #47CBAA
tetradic
#AA47CB #CB6847 #68CB47 #47AACB
square
#AA47CB #CB6847 #68CB47 #47AACB
split-complementary
#AA47CB #AACB47 #47CB68
monochromatic
#612176 #882FA6 #AA47CB #C077D8 #D6A6E6

Accessibility & contrast

On white

4.70
#AA47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#AA47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47CB#FFFFFF#000000##FFFFFF
##AA47CB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106ECF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#A85F83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa47cb;
/* rgb */ color: rgb(170, 71, 203);
/* oklch */ color: oklch(58.4% 0.207 316.6);
Tailwind
colors: {
  custom: {
    50: '#c781db',
    500: '#aa47cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa47cb;
$custom-light: #c781db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47cb",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 285,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.2074,
    "h": 316.6
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#AA47CB
secondary
#A9D39B
accent
#DF496E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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