#AE38DF#AE38DF

#AE38DF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.244 H 313.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AE38DF
RGBrgb(174, 56, 223)
HSLhsl(282, 72%, 55%)
HSVhsv(282, 75%, 87%)
CMYKcmyk(22%, 74.9%, 0%, 12.5%)
CIE-LABlab(48.46, 70.68, -62.64)
CIE-LCHlch(48.46, 94.44, 318.45°)
OKLaboklab(58.73% 0.1687 -0.177)
OKLCHoklch(58.73% 0.245 313.6)
XYZxyz(32.1867, 17.1558, 71.4136)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38DF #69DF38
analogous
#5B38DF #AE38DF #DF38BD
triadic
#AE38DF #DFAE38 #38DFAE
tetradic
#AE38DF #DF5B38 #69DF38 #38BDDF
square
#AE38DF #DF5B38 #69DF38 #38BDDF
split-complementary
#AE38DF #BDDF38 #38DF5B
monochromatic
#661687 #8D1EBC #AE38DF #C36DE7 #D9A1F0

Accessibility & contrast

On white

4.74
#AE38DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AE38DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38DF#FFFFFF#000000##FFFFFF
##AE38DF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#2876DB
Tritanopia (blue-blind)
#A95E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ae38df;
/* rgb */ color: rgb(174, 56, 223);
/* oklch */ color: oklch(58.7% 0.244 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb7bea',
    500: '#ae38df',
    950: '#000000',
  },
}
SCSS
$custom: #ae38df;
$custom-light: #cb7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38df",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 282.395,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.2445,
    "h": 313.6
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#AE38DF
secondary
#ABDD96
accent
#EF396E
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AE38DF

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

Preview Lab → · Contrast checker → · Palette generator →

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