#AE45B2#AE45B2

#AE45B2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.189 H 326.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AE45B2
RGBrgb(174, 69, 178)
HSLhsl(298, 44%, 48%)
HSVhsv(298, 61%, 70%)
CMYKcmyk(2.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(47.59, 57.10, -38.05)
CIE-LCHlch(47.59, 68.61, 326.32°)
OKLaboklab(57.24% 0.1573 -0.1052)
OKLCHoklch(57.24% 0.189 326.2)
XYZxyz(27.6190, 16.4710, 43.8353)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE45B2 #49B245
analogous
#7745B2 #AE45B2 #B2457F
triadic
#AE45B2 #B2AE45 #45B2AE
tetradic
#AE45B2 #B27745 #49B245 #457FB2
square
#AE45B2 #B27745 #49B245 #457FB2
split-complementary
#AE45B2 #7FB245 #45B277
monochromatic
#58235A #833486 #AE45B2 #C36EC7 #D59AD8

Accessibility & contrast

On white

4.89
#AE45B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE45B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE45B2#FFFFFF#000000##FFFFFF
##AE45B21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5B76AF
Tritanopia (blue-blind)
#B25475
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ae45b2;
/* rgb */ color: rgb(174, 69, 178);
/* oklch */ color: oklch(57.2% 0.189 326.2);
Tailwind
colors: {
  custom: {
    50: '#c97fc9',
    500: '#ae45b2',
    950: '#000000',
  },
}
SCSS
$custom: #ae45b2;
$custom-light: #c97fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae45b2",
  "rgb": {
    "r": 174,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 297.798,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.18926,
    "h": 326.2
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#AE45B2
secondary
#91C48F
accent
#D45459
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #AE45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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