#AA2DAF#AA2DAF

#AA2DAF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.214 H 326.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AA2DAF
RGBrgb(170, 45, 175)
HSLhsl(298, 59%, 43%)
HSVhsv(298, 74%, 69%)
CMYKcmyk(2.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(43.54, 64.82, -42.74)
CIE-LCHlch(43.54, 77.64, 326.60°)
OKLaboklab(54.15% 0.1784 -0.1188)
OKLCHoklch(54.15% 0.214 326.3)
XYZxyz(25.2533, 13.5197, 41.8286)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2DAF #32AF2D
analogous
#692DAF #AA2DAF #AF2D73
triadic
#AA2DAF #AFAA2D #2DAFAA
tetradic
#AA2DAF #AF692D #32AF2D #2D73AF
square
#AA2DAF #AF692D #32AF2D #2D73AF
split-complementary
#AA2DAF #73AF2D #2DAF69
monochromatic
#4B144E #7B207E #AA2DAF #CB49D0 #D97ADD

Accessibility & contrast

On white

5.67
#AA2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AA2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2DAF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2DAF#FFFFFF#000000##FFFFFF
##AA2DAF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2daf;
/* rgb */ color: rgb(170, 45, 175);
/* oklch */ color: oklch(54.1% 0.214 326.3);
Tailwind
colors: {
  custom: {
    50: '#c773c7',
    500: '#aa2daf',
    950: '#000000',
  },
}
SCSS
$custom: #aa2daf;
$custom-light: #c773c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2daf",
  "rgb": {
    "r": 170,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 297.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.21436,
    "h": 326.3
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#AA2DAF
secondary
#76C573
accent
#E2464C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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