#AE38D4#AE38D4

#AE38D4 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.235 H 316.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AE38D4
RGBrgb(174, 56, 212)
HSLhsl(285, 64%, 53%)
HSVhsv(285, 74%, 83%)
CMYKcmyk(17.9%, 73.6%, 0%, 16.9%)
CIE-LABlab(47.73, 68.56, -57.53)
CIE-LCHlch(47.73, 89.50, 320.00°)
OKLaboklab(57.98% 0.1702 -0.162)
OKLCHoklch(57.98% 0.235 316.4)
XYZxyz(30.7516, 16.5817, 63.8553)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38D4 #5ED438
analogous
#6038D4 #AE38D4 #D438AC
triadic
#AE38D4 #D4AE38 #38D4AE
tetradic
#AE38D4 #D46038 #5ED438 #38ACD4
square
#AE38D4 #D46038 #5ED438 #38ACD4
split-complementary
#AE38D4 #ACD438 #38D460
monochromatic
#611A78 #8A25AA #AE38D4 #C26ADF #D79DEA

Accessibility & contrast

On white

4.87
#AE38D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AE38D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38D4#FFFFFF#000000##FFFFFF
##AE38D41.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#AC5984
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae38d4;
/* rgb */ color: rgb(174, 56, 212);
/* oklch */ color: oklch(58.0% 0.235 316.4);
Tailwind
colors: {
  custom: {
    50: '#cb7ae2',
    500: '#ae38d4',
    950: '#000000',
  },
}
SCSS
$custom: #ae38d4;
$custom-light: #cb7ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38d4",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 212
  },
  "hsl": {
    "h": 285.385,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.23498,
    "h": 316.4
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#AE38D4
secondary
#A3D692
accent
#E74069
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38D4

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

Preview Lab → · Contrast checker → · Palette generator →

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