#AA48B2#AA48B2

#AA48B2 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.183 H 324.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA48B2
RGBrgb(170, 72, 178)
HSLhsl(295, 42%, 49%)
HSVhsv(295, 60%, 70%)
CMYKcmyk(4.5%, 59.6%, 0%, 30.2%)
CIE-LABlab(47.49, 54.73, -38.24)
CIE-LCHlch(47.49, 66.77, 325.06°)
OKLaboklab(57.05% 0.149 -0.1059)
OKLCHoklch(57.05% 0.183 324.6)
XYZxyz(26.9301, 16.3966, 43.8572)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA48B2 #50B248
analogous
#7548B2 #AA48B2 #B24885
triadic
#AA48B2 #B2AA48 #48B2AA
tetradic
#AA48B2 #B27548 #50B248 #4885B2
square
#AA48B2 #B27548 #50B248 #4885B2
split-complementary
#AA48B2 #85B248 #48B275
monochromatic
#57255B #803686 #AA48B2 #BF71C6 #D39DD7

Accessibility & contrast

On white

4.91
#AA48B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AA48B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA48B2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA48B2#FFFFFF#000000##FFFFFF
##AA48B21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#AD5776
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa48b2;
/* rgb */ color: rgb(170, 72, 178);
/* oklch */ color: oklch(57.1% 0.183 324.6);
Tailwind
colors: {
  custom: {
    50: '#c681c9',
    500: '#aa48b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa48b2;
$custom-light: #c681c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa48b2",
  "rgb": {
    "r": 170,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 295.472,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.18279,
    "h": 324.6
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#AA48B2
secondary
#96C492
accent
#D2565F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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