#AE38C6#AE38C6

#AE38C6 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.223 H 320.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AE38C6
RGBrgb(174, 56, 198)
HSLhsl(290, 56%, 50%)
HSVhsv(290, 72%, 78%)
CMYKcmyk(12.1%, 71.7%, 0%, 22.4%)
CIE-LABlab(46.85, 65.94, -50.87)
CIE-LCHlch(46.85, 83.28, 322.35°)
OKLaboklab(57.08% 0.1715 -0.1425)
OKLCHoklch(57.08% 0.223 320.3)
XYZxyz(29.0615, 15.9057, 54.9545)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38C6 #50C638
analogous
#6738C6 #AE38C6 #C63897
triadic
#AE38C6 #C6AE38 #38C6AE
tetradic
#AE38C6 #C66738 #50C638 #3897C6
square
#AE38C6 #C66738 #50C638 #3897C6
split-complementary
#AE38C6 #97C638 #38C667
monochromatic
#5A1D67 #842B96 #AE38C6 #C267D4 #D597E2

Accessibility & contrast

On white

5.02
#AE38C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AE38C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38C6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38C6#FFFFFF#000000##FFFFFF
##AE38C61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#4673C3
Tritanopia (blue-blind)
#AF537C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae38c6;
/* rgb */ color: rgb(174, 56, 198);
/* oklch */ color: oklch(57.1% 0.223 320.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ad8',
    500: '#ae38c6',
    950: '#000000',
  },
}
SCSS
$custom: #ae38c6;
$custom-light: #ca7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38c6",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 289.859,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.223,
    "h": 320.3
  },
  "luminance": 0.15904
}

Semantic roles & 50–950 ramp

primary
#AE38C6
secondary
#98CD8D
accent
#DF4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE38C6

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

Preview Lab → · Contrast checker → · Palette generator →

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