#AA47BF#AA47BF

#AA47BF is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.7% C 0.196 H 320.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA47BF
RGBrgb(170, 71, 191)
HSLhsl(290, 48%, 51%)
HSVhsv(290, 63%, 75%)
CMYKcmyk(11%, 62.8%, 0%, 25.1%)
CIE-LABlab(48.03, 57.64, -44.97)
CIE-LCHlch(48.03, 73.11, 322.04°)
OKLaboklab(57.67% 0.1508 -0.1255)
OKLCHoklch(57.67% 0.196 320.2)
XYZxyz(28.2336, 16.8154, 51.0386)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47BF #5CBF47
analogous
#6E47BF #AA47BF #BF4798
triadic
#AA47BF #BFAA47 #47BFAA
tetradic
#AA47BF #BF6E47 #5CBF47 #4798BF
square
#AA47BF #BF6E47 #5CBF47 #4798BF
split-complementary
#AA47BF #98BF47 #47BF6E
monochromatic
#5C2468 #843495 #AA47BF #BF74CF #D4A2DF

Accessibility & contrast

On white

4.81
#AA47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AA47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA47BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47BF#FFFFFF#000000##FFFFFF
##AA47BF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#AB5B7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa47bf;
/* rgb */ color: rgb(170, 71, 191);
/* oklch */ color: oklch(57.7% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#c681d3',
    500: '#aa47bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa47bf;
$custom-light: #c681d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47bf",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 289.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.19615,
    "h": 320.2
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#AA47BF
secondary
#A0CB96
accent
#D85068
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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