#AE38CA#AE38CA

#AE38CA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.226 H 319.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AE38CA
RGBrgb(174, 56, 202)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 72%, 79%)
CMYKcmyk(13.9%, 72.3%, 0%, 20.8%)
CIE-LABlab(47.10, 66.68, -52.79)
CIE-LCHlch(47.10, 85.05, 321.63°)
OKLaboklab(57.33% 0.1712 -0.1481)
OKLCHoklch(57.33% 0.226 319.1)
XYZxyz(29.5290, 16.0927, 57.4165)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38CA #54CA38
analogous
#6538CA #AE38CA #CA389D
triadic
#AE38CA #CAAE38 #38CAAE
tetradic
#AE38CA #CA6538 #54CA38 #389DCA
square
#AE38CA #CA6538 #54CA38 #389DCA
split-complementary
#AE38CA #9DCA38 #38CA65
monochromatic
#5C1D6B #86299B #AE38CA #C268D7 #D599E4

Accessibility & contrast

On white

4.98
#AE38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AE38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38CA#FFFFFF#000000##FFFFFF
##AE38CA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#AE557E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae38ca;
/* rgb */ color: rgb(174, 56, 202);
/* oklch */ color: oklch(57.3% 0.226 319.1);
Tailwind
colors: {
  custom: {
    50: '#ca7adb',
    500: '#ae38ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae38ca;
$custom-light: #ca7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38ca",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 288.493,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.2264,
    "h": 319.1
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#AE38CA
secondary
#9BCF8E
accent
#E14764
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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