#AE40B7#AE40B7

#AE40B7 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.200 H 324.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE40B7
RGBrgb(174, 64, 183)
HSLhsl(295, 48%, 48%)
HSVhsv(295, 65%, 72%)
CMYKcmyk(4.9%, 65%, 0%, 28.2%)
CIE-LABlab(47.09, 60.11, -41.77)
CIE-LCHlch(47.09, 73.20, 325.21°)
OKLaboklab(56.97% 0.1635 -0.116)
OKLCHoklch(56.97% 0.2 324.6)
XYZxyz(27.8355, 16.0860, 46.4293)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40B7 #49B740
analogous
#7240B7 #AE40B7 #B74084
triadic
#AE40B7 #B7AE40 #40B7AE
tetradic
#AE40B7 #B77240 #49B740 #4084B7
square
#AE40B7 #B77240 #49B740 #4084B7
split-complementary
#AE40B7 #84B740 #40B772
monochromatic
#58205C #83308A #AE40B7 #C369CB #D597DB

Accessibility & contrast

On white

4.98
#AE40B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AE40B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40B7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40B7#FFFFFF#000000##FFFFFF
##AE40B71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#B25276
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae40b7;
/* rgb */ color: rgb(174, 64, 183);
/* oklch */ color: oklch(57.0% 0.200 324.6);
Tailwind
colors: {
  custom: {
    50: '#c97dcd',
    500: '#ae40b7',
    950: '#000000',
  },
}
SCSS
$custom: #ae40b7;
$custom-light: #c97dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40b7",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 295.462,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.20041,
    "h": 324.6
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#AE40B7
secondary
#91C68D
accent
#D8505A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40B7

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

Preview Lab → · Contrast checker → · Palette generator →

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