#AE38B6#AE38B6

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

Color values

HEX#AE38B6
RGBrgb(174, 56, 182)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 69%, 71%)
CMYKcmyk(4.4%, 69.2%, 0%, 28.6%)
CIE-LABlab(45.92, 63.07, -43.04)
CIE-LCHlch(45.92, 76.36, 325.69°)
OKLaboklab(56.11% 0.1721 -0.1196)
OKLCHoklch(56.11% 0.21 325.2)
XYZxyz(27.3126, 15.2061, 45.7434)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38B6 #40B638
analogous
#6F38B6 #AE38B6 #B6387F
triadic
#AE38B6 #B6AE38 #38B6AE
tetradic
#AE38B6 #B66F38 #40B638 #387FB6
square
#AE38B6 #B66F38 #40B638 #387FB6
split-complementary
#AE38B6 #7FB638 #38B66F
monochromatic
#551B58 #812A87 #AE38B6 #C65ECD #D78DDC

Accessibility & contrast

On white

5.20
#AE38B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AE38B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38B6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38B6#FFFFFF#000000##FFFFFF
##AE38B61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63BA
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#B24C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae38b6;
/* rgb */ color: rgb(174, 56, 182);
/* oklch */ color: oklch(56.1% 0.210 325.2);
Tailwind
colors: {
  custom: {
    50: '#ca79cc',
    500: '#ae38b6',
    950: '#000000',
  },
}
SCSS
$custom: #ae38b6;
$custom-light: #ca79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38b6",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 296.19,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.2096,
    "h": 325.2
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AE38B6
secondary
#88C684
accent
#DC4B55
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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