#AE56E4#AE56E4

#AE56E4 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.2% C 0.213 H 310.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AE56E4
RGBrgb(174, 86, 228)
HSLhsl(277, 72%, 62%)
HSVhsv(277, 62%, 89%)
CMYKcmyk(23.7%, 62.3%, 0%, 10.6%)
CIE-LABlab(53.23, 59.24, -57.78)
CIE-LCHlch(53.23, 82.76, 315.72°)
OKLaboklab(62.24% 0.1375 -0.1629)
OKLCHoklch(62.24% 0.213 310.2)
XYZxyz(34.7843, 21.2564, 75.6542)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56E4 #8CE456
analogous
#6756E4 #AE56E4 #E456D3
triadic
#AE56E4 #E4AE56 #56E4AE
tetradic
#AE56E4 #E46756 #8CE456 #56D3E4
square
#AE56E4 #E46756 #8CE456 #56D3E4
split-complementary
#AE56E4 #D3E456 #56E467
monochromatic
#701AA5 #9423DA #AE56E4 #C78BEC #E1C0F5

Accessibility & contrast

On white

4.00
#AE56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AE56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56E4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56E4#FFFFFF#000000##000000
##AE56E41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7BE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#A77295
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae56e4;
/* rgb */ color: rgb(174, 86, 228);
/* oklch */ color: oklch(62.2% 0.213 310.2);
Tailwind
colors: {
  custom: {
    50: '#ca8aed',
    500: '#ae56e4',
    950: '#000000',
  },
}
SCSS
$custom: #ae56e4;
$custom-light: #ca8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56e4",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 277.183,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6224,
    "c": 0.21319,
    "h": 310.2
  },
  "luminance": 0.21256
}

Semantic roles & 50–950 ramp

primary
#AE56E4
secondary
#C5E5B0
accent
#D5115B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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