#AE56E2#AE56E2

#AE56E2 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.211 H 310.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AE56E2
RGBrgb(174, 86, 226)
HSLhsl(278, 71%, 61%)
HSVhsv(278, 62%, 89%)
CMYKcmyk(23%, 61.9%, 0%, 11.4%)
CIE-LABlab(53.11, 58.81, -56.85)
CIE-LCHlch(53.11, 81.80, 315.97°)
OKLaboklab(62.11% 0.1376 -0.1602)
OKLCHoklch(62.11% 0.211 310.7)
XYZxyz(34.5082, 21.1460, 74.2005)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56E2 #8AE256
analogous
#6856E2 #AE56E2 #E256D0
triadic
#AE56E2 #E2AE56 #56E2AE
tetradic
#AE56E2 #E26856 #8AE256 #56D0E2
square
#AE56E2 #E26856 #8AE256 #56D0E2
split-complementary
#AE56E2 #D0E256 #56E268
monochromatic
#701CA2 #9425D6 #AE56E2 #C78AEB #E0BEF4

Accessibility & contrast

On white

4.02
#AE56E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#AE56E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56E2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56E2#FFFFFF#000000##000000
##AE56E21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#137BE6
Deuteranopia (green-blind)
#4780DF
Tritanopia (blue-blind)
#A77194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ae56e2;
/* rgb */ color: rgb(174, 86, 226);
/* oklch */ color: oklch(62.1% 0.211 310.7);
Tailwind
colors: {
  custom: {
    50: '#ca8aec',
    500: '#ae56e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae56e2;
$custom-light: #ca8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56e2",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 277.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62115,
    "c": 0.21115,
    "h": 310.7
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#AE56E2
secondary
#C3E4B0
accent
#D3135A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE56E2

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

Preview Lab → · Contrast checker → · Palette generator →

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