#AE71EC#AE71EC

#AE71EC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.183 H 304.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AE71EC
RGBrgb(174, 113, 236)
HSLhsl(270, 76%, 68%)
HSVhsv(270, 52%, 93%)
CMYKcmyk(26.3%, 52.1%, 0%, 7.5%)
CIE-LABlab(58.85, 47.32, -53.28)
CIE-LCHlch(58.85, 71.26, 311.61°)
OKLaboklab(66.5% 0.1043 -0.1498)
OKLCHoklch(66.5% 0.183 304.8)
XYZxyz(38.4978, 26.8653, 82.4980)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE71EC #AFEC71
analogous
#7171EC #AE71EC #EB71EC
triadic
#AE71EC #ECAE71 #71ECAE
tetradic
#AE71EC #EC7171 #AFEC71 #71ECEB
square
#AE71EC #EC7171 #AFEC71 #71ECEB
split-complementary
#AE71EC #ECEB71 #71EC71
monochromatic
#711BC8 #8F3BE5 #AE71EC #CDA7F3 #ECDDFA

Accessibility & contrast

On white

3.30
#AE71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AE71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE71EC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE71EC#FFFFFF#000000##000000
##AE71EC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#A488A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ae71ec;
/* rgb */ color: rgb(174, 113, 236);
/* oklch */ color: oklch(66.5% 0.183 304.8);
Tailwind
colors: {
  custom: {
    50: '#c99bf3',
    500: '#ae71ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae71ec;
$custom-light: #c99bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae71ec",
  "rgb": {
    "r": 174,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 269.756,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66501,
    "c": 0.18254,
    "h": 304.8
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#AE71EC
secondary
#DDEFCA
accent
#D90D74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AE71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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