#AA4CC7#AA4CC7

#AA4CC7 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.197 H 317.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA4CC7
RGBrgb(170, 76, 199)
HSLhsl(286, 52%, 54%)
HSVhsv(286, 62%, 78%)
CMYKcmyk(14.6%, 61.8%, 0%, 22%)
CIE-LABlab(49.30, 56.94, -47.57)
CIE-LCHlch(49.30, 74.20, 320.13°)
OKLaboklab(58.74% 0.1449 -0.1331)
OKLCHoklch(58.74% 0.197 317.4)
XYZxyz(29.4693, 17.8396, 55.9128)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CC7 #69C74C
analogous
#6D4CC7 #AA4CC7 #C74CA6
triadic
#AA4CC7 #C7AA4C #4CC7AA
tetradic
#AA4CC7 #C76D4C #69C74C #4CA6C7
square
#AA4CC7 #C76D4C #69C74C #4CA6C7
split-complementary
#AA4CC7 #A6C74C #4CC76D
monochromatic
#612474 #8833A3 #AA4CC7 #C07BD6 #D6A9E4

Accessibility & contrast

On white

4.60
#AA4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AA4CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CC7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CC7#FFFFFF#000000##FFFFFF
##AA4CC71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCB
Deuteranopia (green-blind)
#5078C4
Tritanopia (blue-blind)
#A96183
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4cc7;
/* rgb */ color: rgb(170, 76, 199);
/* oklch */ color: oklch(58.7% 0.197 317.4);
Tailwind
colors: {
  custom: {
    50: '#c684d8',
    500: '#aa4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cc7;
$custom-light: #c684d8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cc7",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 285.854,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.19672,
    "h": 317.4
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#AA4CC7
secondary
#AAD29D
accent
#DC4C6E
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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