#AE26C7#AE26C7

#AE26C7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.8% C 0.241 H 320.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AE26C7
RGBrgb(174, 38, 199)
HSLhsl(291, 68%, 46%)
HSVhsv(291, 81%, 78%)
CMYKcmyk(12.6%, 80.9%, 0%, 22%)
CIE-LABlab(44.96, 71.75, -54.50)
CIE-LCHlch(44.96, 90.10, 322.78°)
OKLaboklab(55.75% 0.1864 -0.153)
OKLCHoklch(55.75% 0.241 320.6)
XYZxyz(28.4562, 14.5100, 55.3236)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE26C7 #3FC726
analogous
#5E26C7 #AE26C7 #C72690
triadic
#AE26C7 #C7AE26 #26C7AE
tetradic
#AE26C7 #C75E26 #3FC726 #2690C7
square
#AE26C7 #C75E26 #3FC726 #2690C7
split-complementary
#AE26C7 #90C726 #26C75E
monochromatic
#541260 #811C94 #AE26C7 #C74DDD #D781E7

Accessibility & contrast

On white

5.38
#AE26C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AE26C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE26C7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE26C7#FFFFFF#000000##FFFFFF
##AE26C71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#3A6FC4
Tritanopia (blue-blind)
#AF4A78
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae26c7;
/* rgb */ color: rgb(174, 38, 199);
/* oklch */ color: oklch(55.8% 0.241 320.6);
Tailwind
colors: {
  custom: {
    50: '#cb72d9',
    500: '#ae26c7',
    950: '#000000',
  },
}
SCSS
$custom: #ae26c7;
$custom-light: #cb72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae26c7",
  "rgb": {
    "r": 174,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 290.683,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.24113,
    "h": 320.6
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#AE26C7
secondary
#87CF79
accent
#EB3D58
background
#FDF7FD
surface
#FAEDFA
border
#D3C8D3
text
#140915
muted
#837B83

Preview Lab

Preview with #AE26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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