#AE38B3#AE38B3

#AE38B3 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.207 H 326.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AE38B3
RGBrgb(174, 56, 179)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 69%, 70%)
CMYKcmyk(2.8%, 68.7%, 0%, 29.8%)
CIE-LABlab(45.75, 62.55, -41.54)
CIE-LCHlch(45.75, 75.09, 326.41°)
OKLaboklab(55.93% 0.1721 -0.1153)
OKLCHoklch(55.93% 0.207 326.2)
XYZxyz(27.0059, 15.0835, 44.1281)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38B3 #3DB338
analogous
#7038B3 #AE38B3 #B3387A
triadic
#AE38B3 #B3AE38 #38B3AE
tetradic
#AE38B3 #B37038 #3DB338 #387AB3
square
#AE38B3 #B37038 #3DB338 #387AB3
split-complementary
#AE38B3 #7AB338 #38B370
monochromatic
#531B56 #812984 #AE38B3 #C85CCC #D78BDB

Accessibility & contrast

On white

5.23
#AE38B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AE38B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38B3#FFFFFF#000000##FFFFFF
##AE38B31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B7
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#B24B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ae38b3;
/* rgb */ color: rgb(174, 56, 179);
/* oklch */ color: oklch(55.9% 0.207 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca79ca',
    500: '#ae38b3',
    950: '#000000',
  },
}
SCSS
$custom: #ae38b3;
$custom-light: #ca79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38b3",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 297.561,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.20715,
    "h": 326.2
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#AE38B3
secondary
#85C582
accent
#DC4C52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE38B3

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

Preview Lab → · Contrast checker → · Palette generator →

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