#AE20B1#AE20B1

#AE20B1 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.229 H 327.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AE20B1
RGBrgb(174, 32, 177)
HSLhsl(299, 69%, 41%)
HSVhsv(299, 82%, 69%)
CMYKcmyk(1.7%, 81.9%, 0%, 30.6%)
CIE-LABlab(43.07, 69.56, -44.62)
CIE-LCHlch(43.07, 82.64, 327.32°)
OKLaboklab(53.99% 0.1927 -0.1241)
OKLCHoklch(53.99% 0.229 327.2)
XYZxyz(25.9075, 13.2079, 42.7713)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE20B1 #23B120
analogous
#6520B1 #AE20B1 #B1206B
triadic
#AE20B1 #B1AE20 #20B1AE
tetradic
#AE20B1 #B16520 #23B120 #206BB1
square
#AE20B1 #B16520 #23B120 #206BB1
split-complementary
#AE20B1 #6BB120 #20B165
monochromatic
#480D49 #7B177D #AE20B1 #D734DA #E168E4

Accessibility & contrast

On white

5.77
#AE20B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AE20B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE20B1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE20B1#FFFFFF#000000##FFFFFF
##AE20B11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#B33C6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae20b1;
/* rgb */ color: rgb(174, 32, 177);
/* oklch */ color: oklch(54.0% 0.229 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca6fc9',
    500: '#ae20b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae20b1;
$custom-light: #ca6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae20b1",
  "rgb": {
    "r": 174,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 298.759,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.22921,
    "h": 327.2
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#AE20B1
secondary
#66C964
accent
#EC3C3F
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #AE20B1

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

Preview Lab → · Contrast checker → · Palette generator →

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