#AE40AA#AE40AA

#AE40AA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.189 H 329.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AE40AA
RGBrgb(174, 64, 170)
HSLhsl(302, 46%, 47%)
HSVhsv(302, 63%, 68%)
CMYKcmyk(0%, 63.2%, 2.3%, 31.8%)
CIE-LABlab(46.40, 57.84, -35.20)
CIE-LCHlch(46.40, 67.71, 328.67°)
OKLaboklab(56.25% 0.1628 -0.097)
OKLCHoklch(56.25% 0.189 329.2)
XYZxyz(26.5444, 15.5696, 39.6295)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40AA #40AE44
analogous
#7B40AE #AE40AA #AE4073
triadic
#AE40AA #AAAE40 #40AAAE
tetradic
#AE40AA #AE7B40 #40AE44 #4073AE
square
#AE40AA #AE7B40 #40AE44 #4073AE
split-complementary
#AE40AA #73AE40 #40AE7B
monochromatic
#551F53 #81307E #AE40AA #C665C3 #D792D4

Accessibility & contrast

On white

5.11
#AE40AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AE40AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40AA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40AA#FFFFFF#000000##FFFFFF
##AE40AA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B44D6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ae40aa;
/* rgb */ color: rgb(174, 64, 170);
/* oklch */ color: oklch(56.3% 0.189 329.2);
Tailwind
colors: {
  custom: {
    50: '#c97dc3',
    500: '#ae40aa',
    950: '#000000',
  },
}
SCSS
$custom: #ae40aa;
$custom-light: #c97dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40aa",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 302.182,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.18946,
    "h": 329.2
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#AE40AA
secondary
#88C28A
accent
#D65752
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AE40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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