#AA48A7#AA48A7

#AA48A7 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.173 H 328.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AA48A7
RGBrgb(170, 72, 167)
HSLhsl(302, 40%, 47%)
HSVhsv(302, 58%, 67%)
CMYKcmyk(0%, 57.6%, 1.8%, 33.3%)
CIE-LABlab(46.94, 52.75, -32.63)
CIE-LCHlch(46.94, 62.02, 328.26°)
OKLaboklab(56.47% 0.148 -0.0897)
OKLCHoklch(56.47% 0.173 328.8)
XYZxyz(25.8697, 15.9725, 38.2721)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48A7 #48AA4B
analogous
#7C48AA #AA48A7 #AA4876
triadic
#AA48A7 #A7AA48 #48A7AA
tetradic
#AA48A7 #AA7C48 #48AA4B #4876AA
square
#AA48A7 #AA7C48 #48AA4B #4876AA
split-complementary
#AA48A7 #76AA48 #48AA7C
monochromatic
#542453 #7F367D #AA48A7 #C16EBF #D499D2

Accessibility & contrast

On white

5.01
#AA48A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AA48A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA48A7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48A7#FFFFFF#000000##FFFFFF
##AA48A71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#5F74A4
Tritanopia (blue-blind)
#AF5371
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa48a7;
/* rgb */ color: rgb(170, 72, 167);
/* oklch */ color: oklch(56.5% 0.173 328.8);
Tailwind
colors: {
  custom: {
    50: '#c680c1',
    500: '#aa48a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa48a7;
$custom-light: #c680c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48a7",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 301.837,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.17302,
    "h": 328.8
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#AA48A7
secondary
#8EC08F
accent
#D05B57
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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