#AE56E7#AE56E7

#AE56E7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.216 H 309.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AE56E7
RGBrgb(174, 86, 231)
HSLhsl(276, 75%, 62%)
HSVhsv(276, 63%, 91%)
CMYKcmyk(24.7%, 62.8%, 0%, 9.4%)
CIE-LABlab(53.41, 59.89, -59.18)
CIE-LCHlch(53.41, 84.20, 315.34°)
OKLaboklab(62.43% 0.1374 -0.167)
OKLCHoklch(62.43% 0.216 309.4)
XYZxyz(35.2043, 21.4244, 77.8666)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE56E7 #8FE756
analogous
#6656E7 #AE56E7 #E756D7
triadic
#AE56E7 #E7AE56 #56E7AE
tetradic
#AE56E7 #E76656 #8FE756 #56D7E7
square
#AE56E7 #E76656 #8FE756 #56D7E7
split-complementary
#AE56E7 #D7E756 #56E766
monochromatic
#7118AA #9420DF #AE56E7 #C88CEF #E1C1F6

Accessibility & contrast

On white

3.97
#AE56E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AE56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE56E7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE56E7#FFFFFF#000000##000000
##AE56E71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#A67397
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ae56e7;
/* rgb */ color: rgb(174, 86, 231);
/* oklch */ color: oklch(62.4% 0.216 309.4);
Tailwind
colors: {
  custom: {
    50: '#ca8bef',
    500: '#ae56e7',
    950: '#000000',
  },
}
SCSS
$custom: #ae56e7;
$custom-light: #ca8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae56e7",
  "rgb": {
    "r": 174,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 276.414,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6243,
    "c": 0.21626,
    "h": 309.4
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#AE56E7
secondary
#C7E7B2
accent
#D70E5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AE56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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