#AA2CAF#AA2CAF

#AA2CAF is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.215 H 326.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AA2CAF
RGBrgb(170, 44, 175)
HSLhsl(298, 60%, 43%)
HSVhsv(298, 75%, 69%)
CMYKcmyk(2.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(43.43, 65.13, -42.92)
CIE-LCHlch(43.43, 78.00, 326.62°)
OKLaboklab(54.07% 0.1793 -0.1193)
OKLCHoklch(54.07% 0.215 326.4)
XYZxyz(25.2156, 13.4443, 41.8160)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CAF #31AF2C
analogous
#682CAF #AA2CAF #AF2C72
triadic
#AA2CAF #AFAA2C #2CAFAA
tetradic
#AA2CAF #AF682C #31AF2C #2C72AF
square
#AA2CAF #AF682C #31AF2C #2C72AF
split-complementary
#AA2CAF #72AF2C #2CAF68
monochromatic
#4B134D #7A207E #AA2CAF #CC47D1 #D978DD

Accessibility & contrast

On white

5.69
#AA2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AA2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CAF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CAF#FFFFFF#000000##FFFFFF
##AA2CAF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#AF426C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2caf;
/* rgb */ color: rgb(170, 44, 175);
/* oklch */ color: oklch(54.1% 0.215 326.4);
Tailwind
colors: {
  custom: {
    50: '#c773c7',
    500: '#aa2caf',
    950: '#000000',
  },
}
SCSS
$custom: #aa2caf;
$custom-light: #c773c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2caf",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 297.71,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.21538,
    "h": 326.4
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#AA2CAF
secondary
#75C572
accent
#E3454B
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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