#AE71EB#AE71EB

#AE71EB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.181 H 305.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AE71EB
RGBrgb(174, 113, 235)
HSLhsl(270, 75%, 68%)
HSVhsv(270, 52%, 92%)
CMYKcmyk(26%, 51.9%, 0%, 7.8%)
CIE-LABlab(58.80, 47.08, -52.81)
CIE-LCHlch(58.80, 70.75, 311.72°)
OKLaboklab(66.44% 0.1042 -0.1484)
OKLCHoklch(66.44% 0.181 305.1)
XYZxyz(38.3529, 26.8073, 81.7350)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE71EB #AEEB71
analogous
#7171EB #AE71EB #EB71EB
triadic
#AE71EB #EBAE71 #71EBAE
tetradic
#AE71EB #EB7171 #AEEB71 #71EBEB
square
#AE71EB #EB7171 #AEEB71 #71EBEB
split-complementary
#AE71EB #EBEB71 #71EB71
monochromatic
#711CC6 #8F3BE3 #AE71EB #CDA7F3 #EBDCFA

Accessibility & contrast

On white

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

On black

6.36
#AE71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE71EB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE71EB#FFFFFF#000000##000000
##AE71EB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#A487A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ae71eb;
/* rgb */ color: rgb(174, 113, 235);
/* oklch */ color: oklch(66.4% 0.181 305.1);
Tailwind
colors: {
  custom: {
    50: '#c99bf2',
    500: '#ae71eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae71eb;
$custom-light: #c99bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae71eb",
  "rgb": {
    "r": 174,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66444,
    "c": 0.18137,
    "h": 305.1
  },
  "luminance": 0.26807
}

Semantic roles & 50–950 ramp

primary
#AE71EB
secondary
#DCEEC9
accent
#D70E73
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AE71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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