#AE71E4#AE71E4

#AE71E4 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.173 H 306.8°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AE71E4
RGBrgb(174, 113, 228)
HSLhsl(272, 68%, 67%)
HSVhsv(272, 50%, 89%)
CMYKcmyk(23.7%, 50.4%, 0%, 10.6%)
CIE-LABlab(58.42, 45.47, -49.49)
CIE-LCHlch(58.42, 67.21, 312.58°)
OKLaboklab(66.05% 0.1037 -0.1388)
OKLCHoklch(66.05% 0.173 306.8)
XYZxyz(37.3614, 26.4107, 76.5133)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE71E4 #A7E471
analogous
#7571E4 #AE71E4 #E471E1
triadic
#AE71E4 #E4AE71 #71E4AE
tetradic
#AE71E4 #E47571 #A7E471 #71E1E4
square
#AE71E4 #E47571 #A7E471 #71E1E4
split-complementary
#AE71E4 #E1E471 #71E475
monochromatic
#7223B8 #913EDA #AE71E4 #CBA4EE #E9D8F8

Accessibility & contrast

On white

3.34
#AE71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#AE71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE71E4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE71E4#FFFFFF#000000##000000
##AE71E41.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#618DE1
Tritanopia (blue-blind)
#A685A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ae71e4;
/* rgb */ color: rgb(174, 113, 228);
/* oklch */ color: oklch(66.0% 0.173 306.8);
Tailwind
colors: {
  custom: {
    50: '#c99bed',
    500: '#ae71e4',
    950: '#000000',
  },
}
SCSS
$custom: #ae71e4;
$custom-light: #c99bed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae71e4",
  "rgb": {
    "r": 174,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 271.826,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66049,
    "c": 0.1732,
    "h": 306.8
  },
  "luminance": 0.2641
}

Semantic roles & 50–950 ramp

primary
#AE71E4
secondary
#D7EBC6
accent
#D0166D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AE71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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