#AE27B3#AE27B3

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

Color values

HEX#AE27B3
RGBrgb(174, 39, 179)
HSLhsl(298, 64%, 43%)
HSVhsv(298, 78%, 70%)
CMYKcmyk(2.8%, 78.2%, 0%, 29.8%)
CIE-LABlab(43.81, 68.09, -44.63)
CIE-LCHlch(43.81, 81.42, 326.76°)
OKLaboklab(54.55% 0.1876 -0.1241)
OKLCHoklch(54.55% 0.225 326.5)
XYZxyz(26.3173, 13.7062, 43.8985)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE27B3 #2CB327
analogous
#6827B3 #AE27B3 #B32772
triadic
#AE27B3 #B3AE27 #27B3AE
tetradic
#AE27B3 #B36827 #2CB327 #2772B3
square
#AE27B3 #B36827 #2CB327 #2772B3
split-complementary
#AE27B3 #72B327 #27B368
monochromatic
#4C114E #7D1C81 #AE27B3 #D041D6 #DD74E1

Accessibility & contrast

On white

5.61
#AE27B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AE27B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE27B3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE27B3#FFFFFF#000000##FFFFFF
##AE27B31.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#B3416D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae27b3;
/* rgb */ color: rgb(174, 39, 179);
/* oklch */ color: oklch(54.5% 0.225 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca72ca',
    500: '#ae27b3',
    950: '#000000',
  },
}
SCSS
$custom: #ae27b3;
$custom-light: #ca72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ae27b3",
  "rgb": {
    "r": 174,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 297.857,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.22496,
    "h": 326.5
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#AE27B3
secondary
#71C86E
accent
#E74147
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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