#AE27A1#AE27A1

#AE27A1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.212 H 332.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AE27A1
RGBrgb(174, 39, 161)
HSLhsl(306, 63%, 42%)
HSVhsv(306, 78%, 68%)
CMYKcmyk(0%, 77.6%, 7.5%, 31.8%)
CIE-LABlab(42.80, 65.25, -35.53)
CIE-LCHlch(42.80, 74.30, 331.43°)
OKLaboklab(53.5% 0.1878 -0.0977)
OKLCHoklch(53.5% 0.212 332.5)
XYZxyz(24.6142, 13.0250, 34.9290)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27A1 #27AE34
analogous
#7827AE #AE27A1 #AE275E
triadic
#AE27A1 #A1AE27 #27A1AE
tetradic
#AE27A1 #AE7827 #27AE34 #275EAE
square
#AE27A1 #AE7827 #27AE34 #275EAE
split-complementary
#AE27A1 #5EAE27 #27AE78
monochromatic
#4A1144 #7C1C73 #AE27A1 #D43EC5 #DF70D4

Accessibility & contrast

On white

5.83
#AE27A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AE27A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27A1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27A1#FFFFFF#000000##FFFFFF
##AE27A11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#B63763
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae27a1;
/* rgb */ color: rgb(174, 39, 161);
/* oklch */ color: oklch(53.5% 0.212 332.5);
Tailwind
colors: {
  custom: {
    50: '#ca71bd',
    500: '#ae27a1',
    950: '#000000',
  },
}
SCSS
$custom: #ae27a1;
$custom-light: #ca71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27a1",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 305.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.21173,
    "h": 332.5
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#AE27A1
secondary
#6BC674
accent
#E65141
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE27A1

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

Preview Lab → · Contrast checker → · Palette generator →

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