#AE40B5#AE40B5

#AE40B5 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.9% C 0.199 H 325.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AE40B5
RGBrgb(174, 64, 181)
HSLhsl(296, 48%, 48%)
HSVhsv(296, 65%, 71%)
CMYKcmyk(3.9%, 64.6%, 0%, 29%)
CIE-LABlab(46.98, 59.76, -40.77)
CIE-LCHlch(46.98, 72.34, 325.70°)
OKLaboklab(56.85% 0.1634 -0.1131)
OKLCHoklch(56.85% 0.199 325.3)
XYZxyz(27.6288, 16.0033, 45.3408)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40B5 #47B540
analogous
#7340B5 #AE40B5 #B54081
triadic
#AE40B5 #B5AE40 #40B5AE
tetradic
#AE40B5 #B57340 #47B540 #4081B5
square
#AE40B5 #B57340 #47B540 #4081B5
split-complementary
#AE40B5 #81B540 #40B573
monochromatic
#57205B #833088 #AE40B5 #C468CA #D696DA

Accessibility & contrast

On white

5.00
#AE40B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AE40B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40B5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40B5#FFFFFF#000000##FFFFFF
##AE40B51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#B25175
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ae40b5;
/* rgb */ color: rgb(174, 64, 181);
/* oklch */ color: oklch(56.9% 0.199 325.3);
Tailwind
colors: {
  custom: {
    50: '#c97dcb',
    500: '#ae40b5',
    950: '#000000',
  },
}
SCSS
$custom: #ae40b5;
$custom-light: #c97dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40b5",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 296.41,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.1987,
    "h": 325.3
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#AE40B5
secondary
#8FC58B
accent
#D75059
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AE40B5

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

Preview Lab → · Contrast checker → · Palette generator →

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