#AE38D2#AE38D2

#AE38D2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.233 H 316.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AE38D2
RGBrgb(174, 56, 210)
HSLhsl(286, 63%, 52%)
HSVhsv(286, 73%, 82%)
CMYKcmyk(17.1%, 73.3%, 0%, 17.6%)
CIE-LABlab(47.60, 68.18, -56.59)
CIE-LCHlch(47.60, 88.61, 320.31°)
OKLaboklab(57.85% 0.1705 -0.1592)
OKLCHoklch(57.85% 0.233 316.9)
XYZxyz(30.5009, 16.4814, 62.5349)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38D2 #5CD238
analogous
#6138D2 #AE38D2 #D238A9
triadic
#AE38D2 #D2AE38 #38D2AE
tetradic
#AE38D2 #D26138 #5CD238 #38A9D2
square
#AE38D2 #D26138 #5CD238 #38A9D2
split-complementary
#AE38D2 #A9D238 #38D261
monochromatic
#601A75 #8926A7 #AE38D2 #C26ADD #D79CE9

Accessibility & contrast

On white

4.89
#AE38D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AE38D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38D2#FFFFFF#000000##FFFFFF
##AE38D21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#AC5983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae38d2;
/* rgb */ color: rgb(174, 56, 210);
/* oklch */ color: oklch(57.8% 0.233 316.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ae1',
    500: '#ae38d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae38d2;
$custom-light: #ca7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38d2",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 285.974,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.23325,
    "h": 316.9
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#AE38D2
secondary
#A1D591
accent
#E64268
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38D2

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

Preview Lab → · Contrast checker → · Palette generator →

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