#AE27A2#AE27A2

#AE27A2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.212 H 332.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AE27A2
RGBrgb(174, 39, 162)
HSLhsl(305, 63%, 42%)
HSVhsv(305, 78%, 68%)
CMYKcmyk(0%, 77.6%, 6.9%, 31.8%)
CIE-LABlab(42.85, 65.40, -36.05)
CIE-LCHlch(42.85, 74.68, 331.14°)
OKLaboklab(53.56% 0.1879 -0.0992)
OKLCHoklch(53.56% 0.212 332.2)
XYZxyz(24.7027, 13.0604, 35.3953)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27A2 #27AE33
analogous
#7727AE #AE27A2 #AE275F
triadic
#AE27A2 #A2AE27 #27A2AE
tetradic
#AE27A2 #AE7727 #27AE33 #275FAE
square
#AE27A2 #AE7727 #27AE33 #275FAE
split-complementary
#AE27A2 #5FAE27 #27AE77
monochromatic
#4A1145 #7C1C73 #AE27A2 #D43EC7 #DF70D5

Accessibility & contrast

On white

5.81
#AE27A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AE27A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27A2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27A2#FFFFFF#000000##FFFFFF
##AE27A21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#556C9F
Tritanopia (blue-blind)
#B63863
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae27a2;
/* rgb */ color: rgb(174, 39, 162);
/* oklch */ color: oklch(53.6% 0.212 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca71be',
    500: '#ae27a2',
    950: '#000000',
  },
}
SCSS
$custom: #ae27a2;
$custom-light: #ca71be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27a2",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 305.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.21245,
    "h": 332.2
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#AE27A2
secondary
#6BC673
accent
#E65041
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE27A2

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

Preview Lab → · Contrast checker → · Palette generator →

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