#AE27B2#AE27B2

#AE27B2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.224 H 326.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AE27B2
RGBrgb(174, 39, 178)
HSLhsl(298, 64%, 43%)
HSVhsv(298, 78%, 70%)
CMYKcmyk(2.2%, 78.1%, 0%, 30.2%)
CIE-LABlab(43.75, 67.93, -44.13)
CIE-LCHlch(43.75, 81.01, 326.99°)
OKLaboklab(54.48% 0.1877 -0.1227)
OKLCHoklch(54.48% 0.224 326.8)
XYZxyz(26.2165, 13.6659, 43.3678)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27B2 #2BB227
analogous
#6827B2 #AE27B2 #B22771
triadic
#AE27B2 #B2AE27 #27B2AE
tetradic
#AE27B2 #B26827 #2BB227 #2771B2
square
#AE27B2 #B26827 #2BB227 #2771B2
split-complementary
#AE27B2 #71B227 #27B268
monochromatic
#4C114E #7D1C80 #AE27B2 #D141D5 #DD73E0

Accessibility & contrast

On white

5.63
#AE27B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AE27B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27B2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27B2#FFFFFF#000000##FFFFFF
##AE27B21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae27b2;
/* rgb */ color: rgb(174, 39, 178);
/* oklch */ color: oklch(54.5% 0.224 326.8);
Tailwind
colors: {
  custom: {
    50: '#ca72c9',
    500: '#ae27b2',
    950: '#000000',
  },
}
SCSS
$custom: #ae27b2;
$custom-light: #ca72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27b2",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 298.273,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.22421,
    "h": 326.8
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#AE27B2
secondary
#70C86D
accent
#E74146
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27B2

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

Preview Lab → · Contrast checker → · Palette generator →

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