#AA40AE#AA40AE

#AA40AE is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.191 H 326.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA40AE
RGBrgb(170, 64, 174)
HSLhsl(298, 46%, 47%)
HSVhsv(298, 63%, 68%)
CMYKcmyk(2.3%, 63.2%, 0%, 31.8%)
CIE-LABlab(46.00, 57.53, -38.24)
CIE-LCHlch(46.00, 69.08, 326.39°)
OKLaboklab(55.91% 0.1585 -0.1058)
OKLCHoklch(55.91% 0.191 326.3)
XYZxyz(26.0504, 15.2705, 41.6116)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA40AE #44AE40
analogous
#7340AE #AA40AE #AE407B
triadic
#AA40AE #AEAA40 #40AEAA
tetradic
#AA40AE #AE7340 #44AE40 #407BAE
square
#AA40AE #AE7340 #44AE40 #407BAE
split-complementary
#AA40AE #7BAE40 #40AE73
monochromatic
#531F55 #7E3081 #AA40AE #C365C6 #D492D7

Accessibility & contrast

On white

5.18
#AA40AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AA40AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA40AE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA40AE#FFFFFF#000000##FFFFFF
##AA40AE1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#AE4F71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa40ae;
/* rgb */ color: rgb(170, 64, 174);
/* oklch */ color: oklch(55.9% 0.191 326.3);
Tailwind
colors: {
  custom: {
    50: '#c67cc6',
    500: '#aa40ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa40ae;
$custom-light: #c67cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa40ae",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 297.818,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.19062,
    "h": 326.3
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#AA40AE
secondary
#8AC288
accent
#D65257
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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