#AE38B7#AE38B7

#AE38B7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.210 H 324.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AE38B7
RGBrgb(174, 56, 183)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 69%, 72%)
CMYKcmyk(4.9%, 69.4%, 0%, 28.2%)
CIE-LABlab(45.97, 63.25, -43.54)
CIE-LCHlch(45.97, 76.78, 325.46°)
OKLaboklab(56.16% 0.1721 -0.1211)
OKLCHoklch(56.16% 0.21 324.9)
XYZxyz(27.4163, 15.2476, 46.2896)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38B7 #41B738
analogous
#6F38B7 #AE38B7 #B73881
triadic
#AE38B7 #B7AE38 #38B7AE
tetradic
#AE38B7 #B76F38 #41B738 #3881B7
square
#AE38B7 #B76F38 #41B738 #3881B7
split-complementary
#AE38B7 #81B738 #38B76F
monochromatic
#551B59 #812A88 #AE38B7 #C65ECE #D78DDC

Accessibility & contrast

On white

5.19
#AE38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AE38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38B7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38B7#FFFFFF#000000##FFFFFF
##AE38B71.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#B24D74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae38b7;
/* rgb */ color: rgb(174, 56, 183);
/* oklch */ color: oklch(56.2% 0.210 324.9);
Tailwind
colors: {
  custom: {
    50: '#ca79cd',
    500: '#ae38b7',
    950: '#000000',
  },
}
SCSS
$custom: #ae38b7;
$custom-light: #ca79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38b7",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 295.748,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.21044,
    "h": 324.9
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#AE38B7
secondary
#89C784
accent
#DD4B56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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