#AE38CB#AE38CB

#AE38CB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.227 H 318.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AE38CB
RGBrgb(174, 56, 203)
HSLhsl(288, 59%, 51%)
HSVhsv(288, 72%, 80%)
CMYKcmyk(14.3%, 72.4%, 0%, 20.4%)
CIE-LABlab(47.16, 66.86, -53.27)
CIE-LCHlch(47.16, 85.49, 321.45°)
OKLaboklab(57.39% 0.1712 -0.1495)
OKLCHoklch(57.39% 0.227 318.9)
XYZxyz(29.6478, 16.1402, 58.0420)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE38CB #55CB38
analogous
#6438CB #AE38CB #CB389F
triadic
#AE38CB #CBAE38 #38CBAE
tetradic
#AE38CB #CB6438 #55CB38 #389FCB
square
#AE38CB #CB6438 #55CB38 #389FCB
split-complementary
#AE38CB #9FCB38 #38CB64
monochromatic
#5D1C6C #86299D #AE38CB #C269D8 #D599E4

Accessibility & contrast

On white

4.97
#AE38CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AE38CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE38CB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE38CB#FFFFFF#000000##FFFFFF
##AE38CB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#AE557F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae38cb;
/* rgb */ color: rgb(174, 56, 203);
/* oklch */ color: oklch(57.4% 0.227 318.9);
Tailwind
colors: {
  custom: {
    50: '#ca7adb',
    500: '#ae38cb',
    950: '#000000',
  },
}
SCSS
$custom: #ae38cb;
$custom-light: #ca7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae38cb",
  "rgb": {
    "r": 174,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 288.163,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.22726,
    "h": 318.9
  },
  "luminance": 0.16139
}

Semantic roles & 50–950 ramp

primary
#AE38CB
secondary
#9CD08F
accent
#E24665
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AE38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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