#AE27AE#AE27AE

#AE27AE is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.221 H 328.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AE27AE
RGBrgb(174, 39, 174)
HSLhsl(300, 63%, 42%)
HSVhsv(300, 78%, 68%)
CMYKcmyk(0%, 77.6%, 0%, 31.8%)
CIE-LABlab(43.52, 67.28, -42.14)
CIE-LCHlch(43.52, 79.39, 327.94°)
OKLaboklab(54.25% 0.1878 -0.1169)
OKLCHoklch(54.25% 0.221 328.1)
XYZxyz(25.8208, 13.5076, 41.2835)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27AE #27AE27
analogous
#6B27AE #AE27AE #AE276B
triadic
#AE27AE #AEAE27 #27AEAE
tetradic
#AE27AE #AE6B27 #27AE27 #276BAE
square
#AE27AE #AE6B27 #27AE27 #276BAE
split-complementary
#AE27AE #6BAE27 #27AE6B
monochromatic
#4A114A #7C1C7C #AE27AE #D43ED4 #DF70DF

Accessibility & contrast

On white

5.67
#AE27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AE27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27AE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27AE#FFFFFF#000000##FFFFFF
##AE27AE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4E6DAB
Tritanopia (blue-blind)
#B43E6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae27ae;
/* rgb */ color: rgb(174, 39, 174);
/* oklch */ color: oklch(54.2% 0.221 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca72c7',
    500: '#ae27ae',
    950: '#000000',
  },
}
SCSS
$custom: #ae27ae;
$custom-light: #ca72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27ae",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 300,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.22122,
    "h": 328.1
  },
  "luminance": 0.13506
}

Semantic roles & 50–950 ramp

primary
#AE27AE
secondary
#6BC66B
accent
#E64141
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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