#AE38D9#AE38D9

#AE38D9 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.239 H 315.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AE38D9
RGBrgb(174, 56, 217)
HSLhsl(284, 68%, 54%)
HSVhsv(284, 74%, 85%)
CMYKcmyk(19.8%, 74.2%, 0%, 14.9%)
CIE-LABlab(48.06, 69.52, -59.87)
CIE-LCHlch(48.06, 91.74, 319.27°)
OKLaboklab(58.32% 0.1696 -0.1688)
OKLCHoklch(58.32% 0.239 315.1)
XYZxyz(31.3921, 16.8379, 67.2286)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38D9 #63D938
analogous
#5D38D9 #AE38D9 #D938B3
triadic
#AE38D9 #D9AE38 #38D9AE
tetradic
#AE38D9 #D95D38 #63D938 #38B3D9
square
#AE38D9 #D95D38 #63D938 #38B3D9
split-complementary
#AE38D9 #B3D938 #38D95D
monochromatic
#63187E #8B22B2 #AE38D9 #C36BE3 #D89FED

Accessibility & contrast

On white

4.81
#AE38D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AE38D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38D9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38D9#FFFFFF#000000##FFFFFF
##AE38D91.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#AA5C86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ae38d9;
/* rgb */ color: rgb(174, 56, 217);
/* oklch */ color: oklch(58.3% 0.239 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ae6',
    500: '#ae38d9',
    950: '#000000',
  },
}
SCSS
$custom: #ae38d9;
$custom-light: #cb7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38d9",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 283.975,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.2393,
    "h": 315.1
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#AE38D9
secondary
#A6D994
accent
#EB3D6B
background
#FDF7FE
surface
#FAEEFC
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AE38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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