#AE40BF#AE40BF

#AE40BF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.207 H 322.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AE40BF
RGBrgb(174, 64, 191)
HSLhsl(292, 50%, 50%)
HSVhsv(292, 66%, 75%)
CMYKcmyk(8.9%, 66.5%, 0%, 25.1%)
CIE-LABlab(47.53, 61.57, -45.72)
CIE-LCHlch(47.53, 76.69, 323.40°)
OKLaboklab(57.43% 0.1635 -0.1275)
OKLCHoklch(57.43% 0.207 322.1)
XYZxyz(28.6919, 16.4286, 50.9399)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40BF #51BF40
analogous
#6F40BF #AE40BF #BF4090
triadic
#AE40BF #BFAE40 #40BFAE
tetradic
#AE40BF #BF6F40 #51BF40 #4090BF
square
#AE40BF #BF6F40 #51BF40 #4090BF
split-complementary
#AE40BF #90BF40 #40BF6F
monochromatic
#5A2163 #843191 #AE40BF #C16ECE #D59CDE

Accessibility & contrast

On white

4.90
#AE40BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AE40BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40BF#FFFFFF#000000##FFFFFF
##AE40BF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#B0557A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae40bf;
/* rgb */ color: rgb(174, 64, 191);
/* oklch */ color: oklch(57.4% 0.207 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca7dd3',
    500: '#ae40bf',
    950: '#000000',
  },
}
SCSS
$custom: #ae40bf;
$custom-light: #ca7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40bf",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 291.969,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.57431,
    "c": 0.20736,
    "h": 322.1
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#AE40BF
secondary
#99CA91
accent
#D94E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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