#AA47DC#AA47DC

#AA47DC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.5% C 0.224 H 312.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA47DC
RGBrgb(170, 71, 220)
HSLhsl(280, 68%, 57%)
HSVhsv(280, 68%, 86%)
CMYKcmyk(22.7%, 67.7%, 0%, 13.7%)
CIE-LABlab(49.76, 63.46, -58.85)
CIE-LCHlch(49.76, 86.55, 317.16°)
OKLaboklab(59.48% 0.1497 -0.1661)
OKLCHoklch(59.48% 0.224 312)
XYZxyz(31.7467, 18.2207, 69.5409)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47DC #79DC47
analogous
#6047DC #AA47DC #DC47C4
triadic
#AA47DC #DCAA47 #47DCAA
tetradic
#AA47DC #DC6047 #79DC47 #47C4DC
square
#AA47DC #DC6047 #79DC47 #47C4DC
split-complementary
#AA47DC #C4DC47 #47DC60
monochromatic
#671B8E #8D25C1 #AA47DC #C27AE6 #DAAEF0

Accessibility & contrast

On white

4.52
#AA47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AA47DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47DC#FFFFFF#000000##000000
##AA47DC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#A4668C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa47dc;
/* rgb */ color: rgb(170, 71, 220);
/* oklch */ color: oklch(59.5% 0.224 312.0);
Tailwind
colors: {
  custom: {
    50: '#c781e8',
    500: '#aa47dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa47dc;
$custom-light: #c781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47dc",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 279.866,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.22358,
    "h": 312
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#AA47DC
secondary
#B5DEA1
accent
#EB3D77
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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