#AE45B1#AE45B1

#AE45B1 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.188 H 326.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AE45B1
RGBrgb(174, 69, 177)
HSLhsl(298, 44%, 48%)
HSVhsv(298, 61%, 69%)
CMYKcmyk(1.7%, 61%, 0%, 30.6%)
CIE-LABlab(47.53, 56.92, -37.54)
CIE-LCHlch(47.53, 68.19, 326.59°)
OKLaboklab(57.19% 0.1573 -0.1038)
OKLCHoklch(57.19% 0.188 326.6)
XYZxyz(27.5190, 16.4309, 43.3085)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE45B1 #48B145
analogous
#7845B1 #AE45B1 #B1457E
triadic
#AE45B1 #B1AE45 #45B1AE
tetradic
#AE45B1 #B17845 #48B145 #457EB1
square
#AE45B1 #B17845 #48B145 #457EB1
split-complementary
#AE45B1 #7EB145 #45B178
monochromatic
#572359 #833485 #AE45B1 #C46DC6 #D699D7

Accessibility & contrast

On white

4.90
#AE45B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AE45B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE45B1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE45B1#FFFFFF#000000##FFFFFF
##AE45B11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#B35375
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae45b1;
/* rgb */ color: rgb(174, 69, 177);
/* oklch */ color: oklch(57.2% 0.188 326.6);
Tailwind
colors: {
  custom: {
    50: '#c97fc9',
    500: '#ae45b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae45b1;
$custom-light: #c97fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae45b1",
  "rgb": {
    "r": 174,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 298.333,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.1884,
    "h": 326.6
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#AE45B1
secondary
#90C38E
accent
#D45458
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AE45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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