#AE54B2#AE54B2

#AE54B2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.1% C 0.167 H 325.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AE54B2
RGBrgb(174, 84, 178)
HSLhsl(297, 38%, 51%)
HSVhsv(297, 53%, 70%)
CMYKcmyk(2.2%, 52.8%, 0%, 30.2%)
CIE-LABlab(50.16, 50.11, -33.99)
CIE-LCHlch(50.16, 60.55, 325.85°)
OKLaboklab(59.13% 0.1378 -0.0936)
OKLCHoklch(59.13% 0.167 325.8)
XYZxyz(28.6612, 18.5552, 44.1827)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54B2 #58B254
analogous
#7F54B2 #AE54B2 #B25487
triadic
#AE54B2 #B2AE54 #54B2AE
tetradic
#AE54B2 #B27F54 #58B254 #5487B2
square
#AE54B2 #B27F54 #58B254 #5487B2
split-complementary
#AE54B2 #87B254 #54B27F
monochromatic
#5E2B60 #873E8A #AE54B2 #C27EC5 #D6A8D8

Accessibility & contrast

On white

4.46
#AE54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AE54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54B2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54B2#FFFFFF#000000##000000
##AE54B21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#B25F7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ae54b2;
/* rgb */ color: rgb(174, 84, 178);
/* oklch */ color: oklch(59.1% 0.167 325.8);
Tailwind
colors: {
  custom: {
    50: '#c888c9',
    500: '#ae54b2',
    950: '#000000',
  },
}
SCSS
$custom: #ae54b2;
$custom-light: #c888c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54b2",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 297.447,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59127,
    "c": 0.16661,
    "h": 325.8
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#AE54B2
secondary
#9EC69C
accent
#CE5A5F
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AE54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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