#AE38CF#AE38CF

#AE38CF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.231 H 317.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AE38CF
RGBrgb(174, 56, 207)
HSLhsl(287, 61%, 52%)
HSVhsv(287, 73%, 81%)
CMYKcmyk(15.9%, 72.9%, 0%, 18.8%)
CIE-LABlab(47.41, 67.61, -55.17)
CIE-LCHlch(47.41, 87.27, 320.78°)
OKLaboklab(57.65% 0.1708 -0.1551)
OKLCHoklch(57.65% 0.231 317.8)
XYZxyz(30.1306, 16.3333, 60.5849)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38CF #59CF38
analogous
#6238CF #AE38CF #CF38A5
triadic
#AE38CF #CFAE38 #38CFAE
tetradic
#AE38CF #CF6238 #59CF38 #38A5CF
square
#AE38CF #CF6238 #59CF38 #38A5CF
split-complementary
#AE38CF #A5CF38 #38CF62
monochromatic
#5E1B71 #8827A3 #AE38CF #C269DB #D69BE7

Accessibility & contrast

On white

4.92
#AE38CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AE38CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38CF#FFFFFF#000000##FFFFFF
##AE38CF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#AD5781
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae38cf;
/* rgb */ color: rgb(174, 56, 207);
/* oklch */ color: oklch(57.7% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ade',
    500: '#ae38cf',
    950: '#000000',
  },
}
SCSS
$custom: #ae38cf;
$custom-light: #ca7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38cf",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 286.887,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.23068,
    "h": 317.8
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#AE38CF
secondary
#9FD390
accent
#E44467
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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