#AE5AF2#AE5AF2

#AE5AF2 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.222 H 306.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AE5AF2
RGBrgb(174, 90, 242)
HSLhsl(273, 85%, 65%)
HSVhsv(273, 63%, 95%)
CMYKcmyk(28.1%, 62.8%, 0%, 5.1%)
CIE-LABlab(54.78, 60.42, -63.13)
CIE-LCHlch(54.78, 87.38, 313.74°)
OKLaboklab(63.64% 0.1323 -0.1786)
OKLCHoklch(63.64% 0.222 306.5)
XYZxyz(37.1353, 22.7222, 86.4167)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5AF2 #9EF25A
analogous
#625AF2 #AE5AF2 #F25AEA
triadic
#AE5AF2 #F2AE5A #5AF2AE
tetradic
#AE5AF2 #F2625A #9EF25A #5AEAF2
square
#AE5AF2 #F2625A #9EF25A #5AEAF2
split-complementary
#AE5AF2 #EAF25A #5AF262
monochromatic
#720FC2 #9221EE #AE5AF2 #CA93F6 #E6CBFB

Accessibility & contrast

On white

3.79
#AE5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#AE5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5AF2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5AF2#FFFFFF#000000##000000
##AE5AF21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3984EF
Tritanopia (blue-blind)
#A37A9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ae5af2;
/* rgb */ color: rgb(174, 90, 242);
/* oklch */ color: oklch(63.6% 0.222 306.5);
Tailwind
colors: {
  custom: {
    50: '#ca8df7',
    500: '#ae5af2',
    950: '#000000',
  },
}
SCSS
$custom: #ae5af2;
$custom-light: #ca8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5af2",
  "rgb": {
    "r": 174,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 273.158,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6364,
    "c": 0.22227,
    "h": 306.5
  },
  "luminance": 0.22722
}

Semantic roles & 50–950 ramp

primary
#AE5AF2
secondary
#D1EEBA
accent
#E20467
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AE5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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