#AE38CC#AE38CC

#AE38CC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.228 H 318.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AE38CC
RGBrgb(174, 56, 204)
HSLhsl(288, 59%, 51%)
HSVhsv(288, 73%, 80%)
CMYKcmyk(14.7%, 72.5%, 0%, 20%)
CIE-LABlab(47.22, 67.05, -53.75)
CIE-LCHlch(47.22, 85.93, 321.28°)
OKLaboklab(57.46% 0.1711 -0.1509)
OKLCHoklch(57.46% 0.228 318.6)
XYZxyz(29.7673, 16.1880, 58.6717)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38CC #56CC38
analogous
#6438CC #AE38CC #CC38A0
triadic
#AE38CC #CCAE38 #38CCAE
tetradic
#AE38CC #CC6438 #56CC38 #38A0CC
square
#AE38CC #CC6438 #56CC38 #38A0CC
split-complementary
#AE38CC #A0CC38 #38CC64
monochromatic
#5D1C6E #86299E #AE38CC #C269D8 #D699E5

Accessibility & contrast

On white

4.96
#AE38CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AE38CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38CC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38CC#FFFFFF#000000##FFFFFF
##AE38CC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#AD567F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae38cc;
/* rgb */ color: rgb(174, 56, 204);
/* oklch */ color: oklch(57.5% 0.228 318.6);
Tailwind
colors: {
  custom: {
    50: '#ca7adc',
    500: '#ae38cc',
    950: '#000000',
  },
}
SCSS
$custom: #ae38cc;
$custom-light: #ca7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38cc",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 287.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57457,
    "c": 0.22811,
    "h": 318.6
  },
  "luminance": 0.16187
}

Semantic roles & 50–950 ramp

primary
#AE38CC
secondary
#9CD18F
accent
#E24565
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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