#AA40A3#AA40A3

#AA40A3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.181 H 330.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AA40A3
RGBrgb(170, 64, 163)
HSLhsl(304, 45%, 46%)
HSVhsv(304, 62%, 67%)
CMYKcmyk(0%, 62.4%, 4.1%, 33.3%)
CIE-LABlab(45.44, 55.62, -32.61)
CIE-LCHlch(45.44, 64.48, 329.62°)
OKLaboklab(55.32% 0.1577 -0.0896)
OKLCHoklch(55.32% 0.181 330.4)
XYZxyz(25.0217, 14.8590, 36.1934)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA40A3 #40AA47
analogous
#7C40AA #AA40A3 #AA406E
triadic
#AA40A3 #A3AA40 #40A3AA
tetradic
#AA40A3 #AA7C40 #40AA47 #406EAA
square
#AA40A3 #AA7C40 #40AA47 #406EAA
split-complementary
#AA40A3 #6EAA40 #40AA7C
monochromatic
#511F4E #7E2F78 #AA40A3 #C463BE #D58FD0

Accessibility & contrast

On white

5.29
#AA40A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AA40A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA40A3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA40A3#FFFFFF#000000##FFFFFF
##AA40A31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#B04B6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa40a3;
/* rgb */ color: rgb(170, 64, 163);
/* oklch */ color: oklch(55.3% 0.181 330.4);
Tailwind
colors: {
  custom: {
    50: '#c67cbe',
    500: '#aa40a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa40a3;
$custom-light: #c67cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa40a3",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 303.962,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55315,
    "c": 0.18137,
    "h": 330.4
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#AA40A3
secondary
#86C08A
accent
#D55B53
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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