#AE38C1#AE38C1

#AE38C1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.219 H 321.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AE38C1
RGBrgb(174, 56, 193)
HSLhsl(292, 55%, 49%)
HSVhsv(292, 71%, 76%)
CMYKcmyk(9.8%, 71%, 0%, 24.3%)
CIE-LABlab(46.55, 65.03, -48.45)
CIE-LCHlch(46.55, 81.09, 323.31°)
OKLaboklab(56.76% 0.1718 -0.1354)
OKLCHoklch(56.76% 0.219 321.8)
XYZxyz(28.4943, 15.6788, 51.9672)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38C1 #4BC138
analogous
#6A38C1 #AE38C1 #C13890
triadic
#AE38C1 #C1AE38 #38C1AE
tetradic
#AE38C1 #C16A38 #4BC138 #3890C1
square
#AE38C1 #C16A38 #4BC138 #3890C1
split-complementary
#AE38C1 #90C138 #38C16A
monochromatic
#581C62 #832A92 #AE38C1 #C364D2 #D594E0

Accessibility & contrast

On white

5.08
#AE38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AE38C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38C1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38C1#FFFFFF#000000##FFFFFF
##AE38C11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#B05179
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ae38c1;
/* rgb */ color: rgb(174, 56, 193);
/* oklch */ color: oklch(56.8% 0.219 321.8);
Tailwind
colors: {
  custom: {
    50: '#ca79d4',
    500: '#ae38c1',
    950: '#000000',
  },
}
SCSS
$custom: #ae38c1;
$custom-light: #ca79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38c1",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 291.679,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.21877,
    "h": 321.8
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#AE38C1
secondary
#93CB8A
accent
#DE495E
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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