#AE42BA#AE42BA

#AE42BA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.200 H 323.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AE42BA
RGBrgb(174, 66, 186)
HSLhsl(294, 48%, 49%)
HSVhsv(294, 65%, 73%)
CMYKcmyk(6.5%, 64.5%, 0%, 27.1%)
CIE-LABlab(47.55, 59.82, -42.78)
CIE-LCHlch(47.55, 73.55, 324.43°)
OKLaboklab(57.35% 0.1612 -0.1189)
OKLCHoklch(57.35% 0.2 323.6)
XYZxyz(28.2659, 16.4419, 48.1296)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE42BA #4EBA42
analogous
#7242BA #AE42BA #BA428A
triadic
#AE42BA #BAAE42 #42BAAE
tetradic
#AE42BA #BA7242 #4EBA42 #428ABA
square
#AE42BA #BA7242 #4EBA42 #428ABA
split-complementary
#AE42BA #8ABA42 #42BA72
monochromatic
#592260 #84328D #AE42BA #C26ECB #D59BDB

Accessibility & contrast

On white

4.90
#AE42BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AE42BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE42BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE42BA#FFFFFF#000000##FFFFFF
##AE42BA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#B15578
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae42ba;
/* rgb */ color: rgb(174, 66, 186);
/* oklch */ color: oklch(57.4% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#c97ecf',
    500: '#ae42ba',
    950: '#000000',
  },
}
SCSS
$custom: #ae42ba;
$custom-light: #c97ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae42ba",
  "rgb": {
    "r": 174,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 294,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.20037,
    "h": 323.6
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#AE42BA
secondary
#96C890
accent
#D7515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE42BA

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

Preview Lab → · Contrast checker → · Palette generator →

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