#AE40B1#AE40B1

#AE40B1 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.6% C 0.195 H 326.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AE40B1
RGBrgb(174, 64, 177)
HSLhsl(298, 47%, 47%)
HSVhsv(298, 64%, 69%)
CMYKcmyk(1.7%, 63.8%, 0%, 30.6%)
CIE-LABlab(46.77, 59.05, -38.76)
CIE-LCHlch(46.77, 70.63, 326.72°)
OKLaboklab(56.63% 0.1632 -0.1072)
OKLCHoklch(56.63% 0.195 326.7)
XYZxyz(27.2243, 15.8415, 43.2102)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40B1 #43B140
analogous
#7640B1 #AE40B1 #B1407C
triadic
#AE40B1 #B1AE40 #40B1AE
tetradic
#AE40B1 #B17640 #43B140 #407CB1
square
#AE40B1 #B17640 #43B140 #407CB1
split-complementary
#AE40B1 #7CB140 #40B176
monochromatic
#561F57 #823084 #AE40B1 #C566C8 #D693D8

Accessibility & contrast

On white

5.04
#AE40B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AE40B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40B1#FFFFFF#000000##FFFFFF
##AE40B11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#B35073
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae40b1;
/* rgb */ color: rgb(174, 64, 177);
/* oklch */ color: oklch(56.6% 0.195 326.7);
Tailwind
colors: {
  custom: {
    50: '#c97dc9',
    500: '#ae40b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae40b1;
$custom-light: #c97dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40b1",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 298.407,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56631,
    "c": 0.19531,
    "h": 326.7
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#AE40B1
secondary
#8BC389
accent
#D75155
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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