#AE27A4#AE27A4

#AE27A4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.214 H 331.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AE27A4
RGBrgb(174, 39, 164)
HSLhsl(304, 63%, 42%)
HSVhsv(304, 78%, 68%)
CMYKcmyk(0%, 77.6%, 5.7%, 31.8%)
CIE-LABlab(42.96, 65.71, -37.07)
CIE-LCHlch(42.96, 75.44, 330.57°)
OKLaboklab(53.67% 0.1879 -0.1022)
OKLCHoklch(53.67% 0.214 331.5)
XYZxyz(24.8819, 13.1321, 36.3390)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27A4 #27AE31
analogous
#7427AE #AE27A4 #AE2761
triadic
#AE27A4 #A4AE27 #27A4AE
tetradic
#AE27A4 #AE7427 #27AE31 #2761AE
square
#AE27A4 #AE7427 #27AE31 #2761AE
split-complementary
#AE27A4 #61AE27 #27AE74
monochromatic
#4A1146 #7C1C75 #AE27A4 #D43EC9 #DF70D7

Accessibility & contrast

On white

5.79
#AE27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AE27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27A4
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27A4#FFFFFF#000000##FFFFFF
##AE27A41.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#B53965
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae27a4;
/* rgb */ color: rgb(174, 39, 164);
/* oklch */ color: oklch(53.7% 0.214 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca71bf',
    500: '#ae27a4',
    950: '#000000',
  },
}
SCSS
$custom: #ae27a4;
$custom-light: #ca71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27a4",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 304.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.21388,
    "h": 331.5
  },
  "luminance": 0.1313
}

Semantic roles & 50–950 ramp

primary
#AE27A4
secondary
#6BC672
accent
#E64E41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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