#AE40B8#AE40B8

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

Color values

HEX#AE40B8
RGBrgb(174, 64, 184)
HSLhsl(295, 48%, 49%)
HSVhsv(295, 65%, 72%)
CMYKcmyk(5.4%, 65.2%, 0%, 27.8%)
CIE-LABlab(47.14, 60.29, -42.26)
CIE-LCHlch(47.14, 73.63, 324.97°)
OKLaboklab(57.02% 0.1635 -0.1174)
OKLCHoklch(57.02% 0.201 324.3)
XYZxyz(27.9400, 16.1278, 46.9794)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40B8 #4AB840
analogous
#7240B8 #AE40B8 #B84086
triadic
#AE40B8 #B8AE40 #40B8AE
tetradic
#AE40B8 #B87240 #4AB840 #4086B8
square
#AE40B8 #B87240 #4AB840 #4086B8
split-complementary
#AE40B8 #86B840 #40B872
monochromatic
#58205D #83308B #AE40B8 #C36ACB #D597DB

Accessibility & contrast

On white

4.97
#AE40B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE40B8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40B8#FFFFFF#000000##FFFFFF
##AE40B81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#B15277
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae40b8;
/* rgb */ color: rgb(174, 64, 184);
/* oklch */ color: oklch(57.0% 0.201 324.3);
Tailwind
colors: {
  custom: {
    50: '#c97dce',
    500: '#ae40b8',
    950: '#000000',
  },
}
SCSS
$custom: #ae40b8;
$custom-light: #c97dce;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40b8",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 295,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.20128,
    "h": 324.3
  },
  "luminance": 0.16126
}

Semantic roles & 50–950 ramp

primary
#AE40B8
secondary
#92C78D
accent
#D8505B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40B8

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

Preview Lab → · Contrast checker → · Palette generator →

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