#AE38C7#AE38C7

#AE38C7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.224 H 320.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AE38C7
RGBrgb(174, 56, 199)
HSLhsl(290, 56%, 50%)
HSVhsv(290, 72%, 78%)
CMYKcmyk(12.6%, 71.9%, 0%, 22%)
CIE-LABlab(46.91, 66.12, -51.36)
CIE-LCHlch(46.91, 83.72, 322.16°)
OKLaboklab(57.14% 0.1715 -0.1439)
OKLCHoklch(57.14% 0.224 320)
XYZxyz(29.1773, 15.9520, 55.5639)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38C7 #51C738
analogous
#6638C7 #AE38C7 #C73899
triadic
#AE38C7 #C7AE38 #38C7AE
tetradic
#AE38C7 #C76638 #51C738 #3899C7
square
#AE38C7 #C76638 #51C738 #3899C7
split-complementary
#AE38C7 #99C738 #38C766
monochromatic
#5A1D67 #842B97 #AE38C7 #C168D4 #D598E2

Accessibility & contrast

On white

5.01
#AE38C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AE38C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38C7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38C7#FFFFFF#000000##FFFFFF
##AE38C71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#AF547C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae38c7;
/* rgb */ color: rgb(174, 56, 199);
/* oklch */ color: oklch(57.1% 0.224 320.0);
Tailwind
colors: {
  custom: {
    50: '#ca7ad9',
    500: '#ae38c7',
    950: '#000000',
  },
}
SCSS
$custom: #ae38c7;
$custom-light: #ca7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38c7",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 289.51,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.22385,
    "h": 320
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#AE38C7
secondary
#99CD8D
accent
#DF4863
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38C7

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

Preview Lab → · Contrast checker → · Palette generator →

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