#AE38C3#AE38C3

#AE38C3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.220 H 321.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AE38C3
RGBrgb(174, 56, 195)
HSLhsl(291, 55%, 49%)
HSVhsv(291, 71%, 76%)
CMYKcmyk(10.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(46.67, 65.39, -49.42)
CIE-LCHlch(46.67, 81.97, 322.92°)
OKLaboklab(56.89% 0.1717 -0.1383)
OKLCHoklch(56.89% 0.22 321.2)
XYZxyz(28.7189, 15.7687, 53.1501)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38C3 #4DC338
analogous
#6938C3 #AE38C3 #C33893
triadic
#AE38C3 #C3AE38 #38C3AE
tetradic
#AE38C3 #C36938 #4DC338 #3893C3
square
#AE38C3 #C36938 #4DC338 #3893C3
split-complementary
#AE38C3 #93C338 #38C369
monochromatic
#591D64 #842A93 #AE38C3 #C265D3 #D595E1

Accessibility & contrast

On white

5.06
#AE38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AE38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38C3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38C3#FFFFFF#000000##FFFFFF
##AE38C31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#AF527A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae38c3;
/* rgb */ color: rgb(174, 56, 195);
/* oklch */ color: oklch(56.9% 0.220 321.2);
Tailwind
colors: {
  custom: {
    50: '#ca7ad6',
    500: '#ae38c3',
    950: '#000000',
  },
}
SCSS
$custom: #ae38c3;
$custom-light: #ca7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38c3",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 290.935,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56888,
    "c": 0.22046,
    "h": 321.2
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#AE38C3
secondary
#95CC8B
accent
#DF4960
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AE38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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