#AE38C4#AE38C4

#AE38C4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.221 H 320.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AE38C4
RGBrgb(174, 56, 196)
HSLhsl(291, 56%, 49%)
HSVhsv(291, 71%, 77%)
CMYKcmyk(11.2%, 71.4%, 0%, 23.1%)
CIE-LABlab(46.73, 65.57, -49.91)
CIE-LCHlch(46.73, 82.40, 322.72°)
OKLaboklab(56.95% 0.1717 -0.1397)
OKLCHoklch(56.95% 0.221 320.9)
XYZxyz(28.8324, 15.8141, 53.7476)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38C4 #4EC438
analogous
#6838C4 #AE38C4 #C43894
triadic
#AE38C4 #C4AE38 #38C4AE
tetradic
#AE38C4 #C46838 #4EC438 #3894C4
square
#AE38C4 #C46838 #4EC438 #3894C4
split-complementary
#AE38C4 #94C438 #38C468
monochromatic
#591D65 #842A94 #AE38C4 #C266D3 #D596E1

Accessibility & contrast

On white

5.04
#AE38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AE38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38C4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38C4#FFFFFF#000000##FFFFFF
##AE38C41.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4773C1
Tritanopia (blue-blind)
#AF527B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae38c4;
/* rgb */ color: rgb(174, 56, 196);
/* oklch */ color: oklch(57.0% 0.221 320.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ad6',
    500: '#ae38c4',
    950: '#000000',
  },
}
SCSS
$custom: #ae38c4;
$custom-light: #ca7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38c4",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 290.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.2213,
    "h": 320.9
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#AE38C4
secondary
#96CC8C
accent
#DF4960
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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