#AE40BD#AE40BD

#AE40BD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.206 H 322.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AE40BD
RGBrgb(174, 64, 189)
HSLhsl(293, 49%, 50%)
HSVhsv(293, 66%, 74%)
CMYKcmyk(7.9%, 66.1%, 0%, 25.9%)
CIE-LABlab(47.42, 61.20, -44.74)
CIE-LCHlch(47.42, 75.81, 323.83°)
OKLaboklab(57.31% 0.1635 -0.1246)
OKLCHoklch(57.31% 0.206 322.7)
XYZxyz(28.4733, 16.3412, 49.7886)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40BD #4FBD40
analogous
#7040BD #AE40BD #BD408E
triadic
#AE40BD #BDAE40 #40BDAE
tetradic
#AE40BD #BD7040 #4FBD40 #408EBD
square
#AE40BD #BD7040 #4FBD40 #408EBD
split-complementary
#AE40BD #8EBD40 #40BD70
monochromatic
#5A2162 #84318F #AE40BD #C26DCD #D59ADD

Accessibility & contrast

On white

4.92
#AE40BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AE40BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40BD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40BD#FFFFFF#000000##FFFFFF
##AE40BD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#5275BA
Tritanopia (blue-blind)
#B05479
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae40bd;
/* rgb */ color: rgb(174, 64, 189);
/* oklch */ color: oklch(57.3% 0.206 322.7);
Tailwind
colors: {
  custom: {
    50: '#c97dd1',
    500: '#ae40bd',
    950: '#000000',
  },
}
SCSS
$custom: #ae40bd;
$custom-light: #c97dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40bd",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 292.8,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.20561,
    "h": 322.7
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#AE40BD
secondary
#97C990
accent
#D94F5F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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