#AE40BA#AE40BA

#AE40BA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.203 H 323.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AE40BA
RGBrgb(174, 64, 186)
HSLhsl(294, 49%, 49%)
HSVhsv(294, 66%, 73%)
CMYKcmyk(6.5%, 65.6%, 0%, 27.1%)
CIE-LABlab(47.25, 60.65, -43.26)
CIE-LCHlch(47.25, 74.50, 324.50°)
OKLaboklab(57.14% 0.1635 -0.1203)
OKLCHoklch(57.14% 0.203 323.7)
XYZxyz(28.1511, 16.2122, 48.0913)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40BA #4CBA40
analogous
#7140BA #AE40BA #BA4089
triadic
#AE40BA #BAAE40 #40BAAE
tetradic
#AE40BA #BA7140 #4CBA40 #4089BA
square
#AE40BA #BA7140 #4CBA40 #4089BA
split-complementary
#AE40BA #89BA40 #40BA71
monochromatic
#59215F #83308C #AE40BA #C36BCC #D599DC

Accessibility & contrast

On white

4.95
#AE40BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AE40BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40BA#FFFFFF#000000##FFFFFF
##AE40BA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#B15378
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ae40ba;
/* rgb */ color: rgb(174, 64, 186);
/* oklch */ color: oklch(57.1% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#c97dcf',
    500: '#ae40ba',
    950: '#000000',
  },
}
SCSS
$custom: #ae40ba;
$custom-light: #c97dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40ba",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 294.098,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.203,
    "h": 323.7
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#AE40BA
secondary
#94C88E
accent
#D84F5D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AE40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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