#AA47E4#AA47E4

#AA47E4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.0% C 0.231 H 310.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA47E4
RGBrgb(170, 71, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 69%, 89%)
CMYKcmyk(25.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(50.28, 65.13, -62.55)
CIE-LCHlch(50.28, 90.30, 316.16°)
OKLaboklab(60.01% 0.1489 -0.1769)
OKLCHoklch(60.01% 0.231 310.1)
XYZxyz(32.8317, 18.6547, 75.2549)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47E4 #81E447
analogous
#5B47E4 #AA47E4 #E447D0
triadic
#AA47E4 #E4AA47 #47E4AA
tetradic
#AA47E4 #E45B47 #81E447 #47D0E4
square
#AA47E4 #E45B47 #81E447 #47D0E4
split-complementary
#AA47E4 #D0E447 #47E45B
monochromatic
#69179A #8E1ECF #AA47E4 #C37CEC #DBB2F4

Accessibility & contrast

On white

4.44
#AA47E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA47E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47E4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47E4#FFFFFF#000000##000000
##AA47E41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#2C79E1
Tritanopia (blue-blind)
#A26991
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa47e4;
/* rgb */ color: rgb(170, 71, 228);
/* oklch */ color: oklch(60.0% 0.231 310.1);
Tailwind
colors: {
  custom: {
    50: '#c882ed',
    500: '#aa47e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa47e4;
$custom-light: #c882ed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47e4",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 277.834,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60012,
    "c": 0.23125,
    "h": 310.1
  },
  "luminance": 0.18654
}

Semantic roles & 50–950 ramp

primary
#AA47E4
secondary
#BBE2A4
accent
#F1377C
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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