#AE40AF#AE40AF

#AE40AF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.194 H 327.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AE40AF
RGBrgb(174, 64, 175)
HSLhsl(299, 46%, 47%)
HSVhsv(299, 63%, 69%)
CMYKcmyk(0.6%, 63.4%, 0%, 31.4%)
CIE-LABlab(46.66, 58.70, -37.75)
CIE-LCHlch(46.66, 69.79, 327.26°)
OKLaboklab(56.52% 0.1631 -0.1043)
OKLCHoklch(56.52% 0.194 327.4)
XYZxyz(27.0264, 15.7624, 42.1681)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40AF #41AF40
analogous
#7640AF #AE40AF #AF4079
triadic
#AE40AF #AFAE40 #40AFAE
tetradic
#AE40AF #AF7640 #41AF40 #4079AF
square
#AE40AF #AF7640 #41AF40 #4079AF
split-complementary
#AE40AF #79AF40 #40AF76
monochromatic
#551F55 #813082 #AE40AF #C665C7 #D792D7

Accessibility & contrast

On white

5.06
#AE40AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AE40AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40AF#FFFFFF#000000##FFFFFF
##AE40AF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#B34F72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae40af;
/* rgb */ color: rgb(174, 64, 175);
/* oklch */ color: oklch(56.5% 0.194 327.4);
Tailwind
colors: {
  custom: {
    50: '#c97dc7',
    500: '#ae40af',
    950: '#000000',
  },
}
SCSS
$custom: #ae40af;
$custom-light: #c97dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40af",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 299.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.19362,
    "h": 327.4
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#AE40AF
secondary
#89C388
accent
#D65253
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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