#AE27AF#AE27AF

#AE27AF is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.222 H 327.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AE27AF
RGBrgb(174, 39, 175)
HSLhsl(300, 64%, 42%)
HSVhsv(300, 78%, 69%)
CMYKcmyk(0.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(43.58, 67.44, -42.64)
CIE-LCHlch(43.58, 79.79, 327.70°)
OKLaboklab(54.31% 0.1878 -0.1183)
OKLCHoklch(54.31% 0.222 327.8)
XYZxyz(25.9186, 13.5468, 41.7988)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27AF #28AF27
analogous
#6A27AF #AE27AF #AF276C
triadic
#AE27AF #AFAE27 #27AFAE
tetradic
#AE27AF #AF6A27 #28AF27 #276CAF
square
#AE27AF #AF6A27 #28AF27 #276CAF
split-complementary
#AE27AF #6CAF27 #27AF6A
monochromatic
#4A114B #7C1C7D #AE27AF #D33FD4 #DF71DF

Accessibility & contrast

On white

5.66
#AE27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AE27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27AF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27AF#FFFFFF#000000##FFFFFF
##AE27AF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#B33F6B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae27af;
/* rgb */ color: rgb(174, 39, 175);
/* oklch */ color: oklch(54.3% 0.222 327.8);
Tailwind
colors: {
  custom: {
    50: '#ca72c7',
    500: '#ae27af',
    950: '#000000',
  },
}
SCSS
$custom: #ae27af;
$custom-light: #ca72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27af",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 299.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.22196,
    "h": 327.8
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#AE27AF
secondary
#6CC66B
accent
#E74142
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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