#AA47DF#AA47DF

#AA47DF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.226 H 311.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AA47DF
RGBrgb(170, 71, 223)
HSLhsl(279, 70%, 58%)
HSVhsv(279, 68%, 87%)
CMYKcmyk(23.8%, 68.2%, 0%, 12.5%)
CIE-LABlab(49.95, 64.08, -60.25)
CIE-LCHlch(49.95, 87.95, 316.77°)
OKLaboklab(59.68% 0.1494 -0.1702)
OKLCHoklch(59.68% 0.226 311.3)
XYZxyz(32.1476, 18.3810, 71.6521)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47DF #7CDF47
analogous
#5E47DF #AA47DF #DF47C8
triadic
#AA47DF #DFAA47 #47DFAA
tetradic
#AA47DF #DF5E47 #7CDF47 #47C8DF
square
#AA47DF #DF5E47 #7CDF47 #47C8DF
split-complementary
#AA47DF #C8DF47 #47DF5E
monochromatic
#681992 #8D22C6 #AA47DF #C27BE8 #DAAFF1

Accessibility & contrast

On white

4.49
#AA47DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AA47DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47DF#FFFFFF#000000##000000
##AA47DF1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#A3678E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa47df;
/* rgb */ color: rgb(170, 71, 223);
/* oklch */ color: oklch(59.7% 0.226 311.3);
Tailwind
colors: {
  custom: {
    50: '#c882ea',
    500: '#aa47df',
    950: '#000000',
  },
}
SCSS
$custom: #aa47df;
$custom-light: #c882ea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47df",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 279.079,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.22645,
    "h": 311.3
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#AA47DF
secondary
#B8DFA2
accent
#ED3B79
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47DF

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

Preview Lab → · Contrast checker → · Palette generator →

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