#AE71E2#AE71E2

#AE71E2 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.171 H 307.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AE71E2
RGBrgb(174, 113, 226)
HSLhsl(272, 66%, 66%)
HSVhsv(272, 50%, 89%)
CMYKcmyk(23%, 50%, 0%, 11.4%)
CIE-LABlab(58.32, 45.01, -48.54)
CIE-LCHlch(58.32, 66.20, 312.84°)
OKLaboklab(65.94% 0.1035 -0.136)
OKLCHoklch(65.94% 0.171 307.3)
XYZxyz(37.0854, 26.3003, 75.0595)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE71E2 #A5E271
analogous
#7671E2 #AE71E2 #E271DE
triadic
#AE71E2 #E2AE71 #71E2AE
tetradic
#AE71E2 #E27671 #A5E271 #71DEE2
square
#AE71E2 #E27671 #A5E271 #71DEE2
split-complementary
#AE71E2 #DEE271 #71E276
monochromatic
#7225B4 #913ED8 #AE71E2 #CBA4EC #E8D7F7

Accessibility & contrast

On white

3.35
#AE71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#AE71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE71E2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE71E2#FFFFFF#000000##000000
##AE71E21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#A6859F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ae71e2;
/* rgb */ color: rgb(174, 113, 226);
/* oklch */ color: oklch(65.9% 0.171 307.3);
Tailwind
colors: {
  custom: {
    50: '#c99beb',
    500: '#ae71e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae71e2;
$custom-light: #c99beb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae71e2",
  "rgb": {
    "r": 174,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 272.389,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.17087,
    "h": 307.3
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#AE71E2
secondary
#D6EAC5
accent
#CE186B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AE71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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