#AA2FA6#AA2FA6

#AA2FA6 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.205 H 329.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AA2FA6
RGBrgb(170, 47, 166)
HSLhsl(302, 57%, 43%)
HSVhsv(302, 72%, 67%)
CMYKcmyk(0%, 72.4%, 2.4%, 33.3%)
CIE-LABlab(43.26, 62.67, -37.83)
CIE-LCHlch(43.26, 73.20, 328.88°)
OKLaboklab(53.79% 0.1766 -0.1045)
OKLCHoklch(53.79% 0.205 329.4)
XYZxyz(24.4768, 13.3341, 37.3536)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA6 #2FAA33
analogous
#702FAA #AA2FA6 #AA2F69
triadic
#AA2FA6 #A6AA2F #2FA6AA
tetradic
#AA2FA6 #AA702F #2FAA33 #2F69AA
square
#AA2FA6 #AA702F #2FAA33 #2F69AA
split-complementary
#AA2FA6 #69AA2F #2FAA70
monochromatic
#4A1448 #7A2277 #AA2FA6 #CD49C9 #DA79D7

Accessibility & contrast

On white

5.73
#AA2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AA2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA6#FFFFFF#000000##FFFFFF
##AA2FA61.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CA9
Deuteranopia (green-blind)
#526CA3
Tritanopia (blue-blind)
#B04068
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2fa6;
/* rgb */ color: rgb(170, 47, 166);
/* oklch */ color: oklch(53.8% 0.205 329.4);
Tailwind
colors: {
  custom: {
    50: '#c774c1',
    500: '#aa2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa6;
$custom-light: #c774c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa6",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 301.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53791,
    "c": 0.20523,
    "h": 329.4
  },
  "luminance": 0.13332
}

Semantic roles & 50–950 ramp

primary
#AA2FA6
secondary
#72C275
accent
#E04D48
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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