#AE26B1#AE26B1

#AE26B1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.224 H 327.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AE26B1
RGBrgb(174, 38, 177)
HSLhsl(299, 65%, 42%)
HSVhsv(299, 79%, 69%)
CMYKcmyk(1.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(43.60, 68.04, -43.79)
CIE-LCHlch(43.60, 80.91, 327.24°)
OKLaboklab(54.36% 0.1885 -0.1217)
OKLCHoklch(54.36% 0.224 327.2)
XYZxyz(26.0841, 13.5611, 42.8302)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE26B1 #29B126
analogous
#6926B1 #AE26B1 #B1266F
triadic
#AE26B1 #B1AE26 #26B1AE
tetradic
#AE26B1 #B16926 #29B126 #266FB1
square
#AE26B1 #B16926 #29B126 #266FB1
split-complementary
#AE26B1 #6FB126 #26B169
monochromatic
#4B104C #7C1B7F #AE26B1 #D23FD6 #DE71E0

Accessibility & contrast

On white

5.66
#AE26B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AE26B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE26B1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE26B1#FFFFFF#000000##FFFFFF
##AE26B11.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4C6DAE
Tritanopia (blue-blind)
#B33F6C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae26b1;
/* rgb */ color: rgb(174, 38, 177);
/* oklch */ color: oklch(54.4% 0.224 327.2);
Tailwind
colors: {
  custom: {
    50: '#ca71c9',
    500: '#ae26b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae26b1;
$custom-light: #ca71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae26b1",
  "rgb": {
    "r": 174,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 298.705,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.22434,
    "h": 327.2
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#AE26B1
secondary
#6DC76B
accent
#E84044
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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