#AA47EF#AA47EF

#AA47EF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.8% C 0.242 H 307.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA47EF
RGBrgb(170, 71, 239)
HSLhsl(275, 84%, 61%)
HSVhsv(275, 70%, 94%)
CMYKcmyk(28.9%, 70.3%, 0%, 6.3%)
CIE-LABlab(51.02, 67.47, -67.55)
CIE-LCHlch(51.02, 95.48, 314.97°)
OKLaboklab(60.77% 0.1475 -0.1916)
OKLCHoklch(60.77% 0.242 307.6)
XYZxyz(34.4075, 19.2850, 83.5544)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47EF #8CEF47
analogous
#5647EF #AA47EF #EF47E0
triadic
#AA47EF #EFAA47 #47EFAA
tetradic
#AA47EF #EF5647 #8CEF47 #47E0EF
square
#AA47EF #EF5647 #8CEF47 #47E0EF
split-complementary
#AA47EF #E0EF47 #47EF56
monochromatic
#6C0FAD #8F14E5 #AA47EF #C47FF4 #DEB8F9

Accessibility & contrast

On white

4.32
#AA47EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AA47EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47EF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47EF#FFFFFF#000000##000000
##AA47EF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#107AEB
Tritanopia (blue-blind)
#9F6E97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa47ef;
/* rgb */ color: rgb(170, 71, 239);
/* oklch */ color: oklch(60.8% 0.242 307.6);
Tailwind
colors: {
  custom: {
    50: '#c982f5',
    500: '#aa47ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa47ef;
$custom-light: #c982f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47ef",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 239
  },
  "hsl": {
    "h": 275.357,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.24181,
    "h": 307.6
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#AA47EF
secondary
#C3E9A9
accent
#E0055F
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #AA47EF

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

Preview Lab → · Contrast checker → · Palette generator →

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