#AE38B2#AE38B2

#AE38B2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.206 H 326.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AE38B2
RGBrgb(174, 56, 178)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 69%, 70%)
CMYKcmyk(2.2%, 68.5%, 0%, 30.2%)
CIE-LABlab(45.69, 62.38, -41.04)
CIE-LCHlch(45.69, 74.67, 326.66°)
OKLaboklab(55.87% 0.1721 -0.1138)
OKLCHoklch(55.87% 0.206 326.5)
XYZxyz(26.9051, 15.0432, 43.5974)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38B2 #3CB238
analogous
#7138B2 #AE38B2 #B23879
triadic
#AE38B2 #B2AE38 #38B2AE
tetradic
#AE38B2 #B27138 #3CB238 #3879B2
square
#AE38B2 #B27138 #3CB238 #3879B2
split-complementary
#AE38B2 #79B238 #38B271
monochromatic
#531B55 #802983 #AE38B2 #C85CCC #D88ADA

Accessibility & contrast

On white

5.24
#AE38B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AE38B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38B2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38B2#FFFFFF#000000##FFFFFF
##AE38B21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#B34A71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ae38b2;
/* rgb */ color: rgb(174, 56, 178);
/* oklch */ color: oklch(55.9% 0.206 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca79c9',
    500: '#ae38b2',
    950: '#000000',
  },
}
SCSS
$custom: #ae38b2;
$custom-light: #ca79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38b2",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 298.033,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.20634,
    "h": 326.5
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#AE38B2
secondary
#83C581
accent
#DC4C51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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