#AE38D3#AE38D3

#AE38D3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.234 H 316.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AE38D3
RGBrgb(174, 56, 211)
HSLhsl(286, 64%, 52%)
HSVhsv(286, 73%, 83%)
CMYKcmyk(17.5%, 73.5%, 0%, 17.3%)
CIE-LABlab(47.66, 68.37, -57.06)
CIE-LCHlch(47.66, 89.05, 320.15°)
OKLaboklab(57.91% 0.1703 -0.1606)
OKLCHoklch(57.91% 0.234 316.7)
XYZxyz(30.6258, 16.5314, 63.1930)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38D3 #5DD338
analogous
#6038D3 #AE38D3 #D338AB
triadic
#AE38D3 #D3AE38 #38D3AE
tetradic
#AE38D3 #D36038 #5DD338 #38ABD3
square
#AE38D3 #D36038 #5DD338 #38ABD3
split-complementary
#AE38D3 #ABD338 #38D360
monochromatic
#601A76 #8925A9 #AE38D3 #C26ADE #D79CE9

Accessibility & contrast

On white

4.88
#AE38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AE38D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38D3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38D3#FFFFFF#000000##FFFFFF
##AE38D31.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3974D0
Tritanopia (blue-blind)
#AC5983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae38d3;
/* rgb */ color: rgb(174, 56, 211);
/* oklch */ color: oklch(57.9% 0.234 316.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ae1',
    500: '#ae38d3',
    950: '#000000',
  },
}
SCSS
$custom: #ae38d3;
$custom-light: #ca7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38d3",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 285.677,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.23411,
    "h": 316.7
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#AE38D3
secondary
#A2D592
accent
#E74169
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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