#AA2FAC#AA2FAC

#AA2FAC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.210 H 327.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AA2FAC
RGBrgb(170, 47, 172)
HSLhsl(299, 57%, 43%)
HSVhsv(299, 73%, 67%)
CMYKcmyk(1.2%, 72.7%, 0%, 32.5%)
CIE-LABlab(43.59, 63.66, -40.87)
CIE-LCHlch(43.59, 75.65, 327.30°)
OKLaboklab(54.14% 0.1767 -0.1134)
OKLCHoklch(54.14% 0.21 327.3)
XYZxyz(25.0401, 13.5594, 40.3201)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FAC #31AC2F
analogous
#6B2FAC #AA2FAC #AC2F6F
triadic
#AA2FAC #ACAA2F #2FACAA
tetradic
#AA2FAC #AC6B2F #31AC2F #2F6FAC
square
#AA2FAC #AC6B2F #31AC2F #2F6FAC
split-complementary
#AA2FAC #6FAC2F #2FAC6B
monochromatic
#4B154C #7A227C #AA2FAC #CC4BCE #D97BDB

Accessibility & contrast

On white

5.66
#AA2FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AA2FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FAC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FAC#FFFFFF#000000##FFFFFF
##AA2FAC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#4F6CA9
Tritanopia (blue-blind)
#AF436B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2fac;
/* rgb */ color: rgb(170, 47, 172);
/* oklch */ color: oklch(54.1% 0.210 327.3);
Tailwind
colors: {
  custom: {
    50: '#c774c5',
    500: '#aa2fac',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fac;
$custom-light: #c774c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fac",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 299.04,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.2099,
    "h": 327.3
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#AA2FAC
secondary
#75C374
accent
#E0474A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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