#AE40B9#AE40B9

#AE40B9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.202 H 324.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AE40B9
RGBrgb(174, 64, 185)
HSLhsl(295, 49%, 49%)
HSVhsv(295, 65%, 73%)
CMYKcmyk(5.9%, 65.4%, 0%, 27.5%)
CIE-LABlab(47.20, 60.47, -42.76)
CIE-LCHlch(47.20, 74.06, 324.74°)
OKLaboklab(57.08% 0.1635 -0.1189)
OKLCHoklch(57.08% 0.202 324)
XYZxyz(28.0451, 16.1699, 47.5334)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40B9 #4BB940
analogous
#7240B9 #AE40B9 #B94088
triadic
#AE40B9 #B9AE40 #40B9AE
tetradic
#AE40B9 #B97240 #4BB940 #4088B9
square
#AE40B9 #B97240 #4BB940 #4088B9
split-complementary
#AE40B9 #88B940 #40B972
monochromatic
#58215E #83308C #AE40B9 #C36BCC #D598DB

Accessibility & contrast

On white

4.96
#AE40B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AE40B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40B9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40B9#FFFFFF#000000##FFFFFF
##AE40B91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#B15377
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae40b9;
/* rgb */ color: rgb(174, 64, 185);
/* oklch */ color: oklch(57.1% 0.202 324.0);
Tailwind
colors: {
  custom: {
    50: '#c97dce',
    500: '#ae40b9',
    950: '#000000',
  },
}
SCSS
$custom: #ae40b9;
$custom-light: #c97dce;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40b9",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 294.545,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.20214,
    "h": 324
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#AE40B9
secondary
#93C78E
accent
#D8505C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE40B9

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

Preview Lab → · Contrast checker → · Palette generator →

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