#AE27B1#AE27B1

#AE27B1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.223 H 327.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AE27B1
RGBrgb(174, 39, 177)
HSLhsl(299, 64%, 42%)
HSVhsv(299, 78%, 69%)
CMYKcmyk(1.7%, 78%, 0%, 30.6%)
CIE-LABlab(43.69, 67.77, -43.64)
CIE-LCHlch(43.69, 80.60, 327.22°)
OKLaboklab(54.43% 0.1877 -0.1212)
OKLCHoklch(54.43% 0.223 327.1)
XYZxyz(26.1165, 13.6259, 42.8410)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27B1 #2AB127
analogous
#6927B1 #AE27B1 #B1276F
triadic
#AE27B1 #B1AE27 #27B1AE
tetradic
#AE27B1 #B16927 #2AB127 #276FB1
square
#AE27B1 #B16927 #2AB127 #276FB1
split-complementary
#AE27B1 #6FB127 #27B169
monochromatic
#4B114D #7D1C7F #AE27B1 #D240D5 #DE72E0

Accessibility & contrast

On white

5.64
#AE27B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AE27B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27B1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27B1#FFFFFF#000000##FFFFFF
##AE27B11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#B3406C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae27b1;
/* rgb */ color: rgb(174, 39, 177);
/* oklch */ color: oklch(54.4% 0.223 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca72c9',
    500: '#ae27b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae27b1;
$custom-light: #ca72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27b1",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 298.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.22345,
    "h": 327.1
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#AE27B1
secondary
#6FC76D
accent
#E74145
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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