#AA4DA7#AA4DA7

#AA4DA7 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.1% C 0.165 H 328.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AA4DA7
RGBrgb(170, 77, 167)
HSLhsl(302, 38%, 48%)
HSVhsv(302, 55%, 67%)
CMYKcmyk(0%, 54.7%, 1.8%, 33.3%)
CIE-LABlab(47.81, 50.39, -31.27)
CIE-LCHlch(47.81, 59.30, 328.18°)
OKLaboklab(57.11% 0.1412 -0.0858)
OKLCHoklch(57.11% 0.165 328.7)
XYZxyz(26.2062, 16.6454, 38.3843)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DA7 #4DAA50
analogous
#7E4DAA #AA4DA7 #AA4D78
triadic
#AA4DA7 #A7AA4D #4DA7AA
tetradic
#AA4DA7 #AA7E4D #4DAA50 #4D78AA
square
#AA4DA7 #AA7E4D #4DAA50 #4D78AA
split-complementary
#AA4DA7 #78AA4D #4DAA7E
monochromatic
#562754 #803A7E #AA4DA7 #C074BE #D39ED1

Accessibility & contrast

On white

4.85
#AA4DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AA4DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4DA7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DA7#FFFFFF#000000##FFFFFF
##AA4DA71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456AAA
Deuteranopia (green-blind)
#6276A4
Tritanopia (blue-blind)
#AF5773
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4da7;
/* rgb */ color: rgb(170, 77, 167);
/* oklch */ color: oklch(57.1% 0.165 328.7);
Tailwind
colors: {
  custom: {
    50: '#c683c1',
    500: '#aa4da7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4da7;
$custom-light: #c683c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4da7",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 301.935,
    "s": 37.652,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.16528,
    "h": 328.7
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

primary
#AA4DA7
secondary
#93C094
accent
#CE5E5A
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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