#AA2FAD#AA2FAD

#AA2FAD is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.211 H 327.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AA2FAD
RGBrgb(170, 47, 173)
HSLhsl(299, 57%, 43%)
HSVhsv(299, 73%, 68%)
CMYKcmyk(1.7%, 72.8%, 0%, 32.2%)
CIE-LABlab(43.65, 63.83, -41.37)
CIE-LCHlch(43.65, 76.06, 327.05°)
OKLaboklab(54.2% 0.1767 -0.1148)
OKLCHoklch(54.2% 0.211 327)
XYZxyz(25.1365, 13.5980, 40.8278)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FAD #32AD2F
analogous
#6B2FAD #AA2FAD #AD2F71
triadic
#AA2FAD #ADAA2F #2FADAA
tetradic
#AA2FAD #AD6B2F #32AD2F #2F71AD
square
#AA2FAD #AD6B2F #32AD2F #2F71AD
split-complementary
#AA2FAD #71AD2F #2FAD6B
monochromatic
#4B154D #7B227D #AA2FAD #CB4BCE #D97BDB

Accessibility & contrast

On white

5.65
#AA2FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AA2FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FAD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FAD#FFFFFF#000000##FFFFFF
##AA2FAD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DB0
Deuteranopia (green-blind)
#4E6DAA
Tritanopia (blue-blind)
#AF436C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2fad;
/* rgb */ color: rgb(170, 47, 173);
/* oklch */ color: oklch(54.2% 0.211 327.0);
Tailwind
colors: {
  custom: {
    50: '#c774c6',
    500: '#aa2fad',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fad;
$custom-light: #c774c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fad",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 298.571,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54195,
    "c": 0.21069,
    "h": 327
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#AA2FAD
secondary
#76C474
accent
#E1474B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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