#AE28B0#AE28B0

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

Color values

HEX#AE28B0
RGBrgb(174, 40, 176)
HSLhsl(299, 63%, 42%)
HSVhsv(299, 77%, 69%)
CMYKcmyk(1.1%, 77.3%, 0%, 31%)
CIE-LABlab(43.73, 67.32, -42.98)
CIE-LCHlch(43.73, 79.88, 327.44°)
OKLaboklab(54.43% 0.187 -0.1193)
OKLCHoklch(54.43% 0.222 327.4)
XYZxyz(26.0504, 13.6527, 42.3291)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28B0 #2AB028
analogous
#6A28B0 #AE28B0 #B0286E
triadic
#AE28B0 #B0AE28 #28B0AE
tetradic
#AE28B0 #B06A28 #2AB028 #286EB0
square
#AE28B0 #B06A28 #2AB028 #286EB0
split-complementary
#AE28B0 #6EB028 #28B06A
monochromatic
#4B114C #7D1D7E #AE28B0 #D241D4 #DE73DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE28B0#FFFFFF#000000##FFFFFF
##AE28B01.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)
#005CB4
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#B3406C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae28b0;
/* rgb */ color: rgb(174, 40, 176);
/* oklch */ color: oklch(54.4% 0.222 327.4);
Tailwind
colors: {
  custom: {
    50: '#ca72c8',
    500: '#ae28b0',
    950: '#000000',
  },
}
SCSS
$custom: #ae28b0;
$custom-light: #ca72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28b0",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 299.118,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.22181,
    "h": 327.4
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#AE28B0
secondary
#6FC66D
accent
#E64244
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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