#AA47E6#AA47E6

#AA47E6 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.233 H 309.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AA47E6
RGBrgb(170, 71, 230)
HSLhsl(277, 76%, 59%)
HSVhsv(277, 69%, 90%)
CMYKcmyk(26.1%, 69.1%, 0%, 9.8%)
CIE-LABlab(50.41, 65.55, -63.47)
CIE-LCHlch(50.41, 91.24, 315.93°)
OKLaboklab(60.15% 0.1486 -0.1796)
OKLCHoklch(60.15% 0.233 309.6)
XYZxyz(33.1109, 18.7663, 76.7256)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA47E6 #83E647
analogous
#5A47E6 #AA47E6 #E647D3
triadic
#AA47E6 #E6AA47 #47E6AA
tetradic
#AA47E6 #E65A47 #83E647 #47D3E6
square
#AA47E6 #E65A47 #83E647 #47D3E6
split-complementary
#AA47E6 #D3E647 #47E65A
monochromatic
#6A159D #8E1DD3 #AA47E6 #C37DED #DCB3F5

Accessibility & contrast

On white

4.42
#AA47E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#AA47E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA47E6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA47E6#FFFFFF#000000##000000
##AA47E61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#2879E3
Tritanopia (blue-blind)
#A16A92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa47e6;
/* rgb */ color: rgb(170, 71, 230);
/* oklch */ color: oklch(60.1% 0.233 309.6);
Tailwind
colors: {
  custom: {
    50: '#c882ef',
    500: '#aa47e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa47e6;
$custom-light: #c882ef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa47e6",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 277.358,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.23317,
    "h": 309.6
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#AA47E6
secondary
#BDE4A5
accent
#F3357D
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AA47E6

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

Preview Lab → · Contrast checker → · Palette generator →

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