#AA4DC7#AA4DC7

#AA4DC7 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.195 H 317.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA4DC7
RGBrgb(170, 77, 199)
HSLhsl(286, 52%, 54%)
HSVhsv(286, 61%, 78%)
CMYKcmyk(14.6%, 61.3%, 0%, 22%)
CIE-LABlab(49.47, 56.48, -47.30)
CIE-LCHlch(49.47, 73.67, 320.06°)
OKLaboklab(58.86% 0.1437 -0.1323)
OKLCHoklch(58.86% 0.195 317.4)
XYZxyz(29.5388, 17.9785, 55.9360)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DC7 #6AC74D
analogous
#6D4DC7 #AA4DC7 #C74DA7
triadic
#AA4DC7 #C7AA4D #4DC7AA
tetradic
#AA4DC7 #C76D4D #6AC74D #4DA7C7
square
#AA4DC7 #C76D4D #6AC74D #4DA7C7
split-complementary
#AA4DC7 #A7C74D #4DC76D
monochromatic
#622575 #8933A3 #AA4DC7 #C07CD6 #D6AAE4

Accessibility & contrast

On white

4.57
#AA4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AA4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4DC7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DC7#FFFFFF#000000##000000
##AA4DC71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#5179C4
Tritanopia (blue-blind)
#A96283
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa4dc7;
/* rgb */ color: rgb(170, 77, 199);
/* oklch */ color: oklch(58.9% 0.195 317.4);
Tailwind
colors: {
  custom: {
    50: '#c684d8',
    500: '#aa4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4dc7;
$custom-light: #c684d8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4dc7",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 285.738,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58862,
    "c": 0.1953,
    "h": 317.4
  },
  "luminance": 0.17977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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