#AE5AF7#AE5AF7

#AE5AF7 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.228 H 305.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AE5AF7
RGBrgb(174, 90, 247)
HSLhsl(272, 91%, 66%)
HSVhsv(272, 64%, 97%)
CMYKcmyk(29.6%, 63.6%, 0%, 3.1%)
CIE-LABlab(55.10, 61.54, -65.41)
CIE-LCHlch(55.10, 89.81, 313.26°)
OKLaboklab(63.97% 0.132 -0.1853)
OKLCHoklch(63.97% 0.228 305.5)
XYZxyz(37.8966, 23.0267, 90.4258)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE5AF7 #A3F75A
analogous
#5F5AF7 #AE5AF7 #F75AF1
triadic
#AE5AF7 #F7AE5A #5AF7AE
tetradic
#AE5AF7 #F75F5A #A3F75A #5AF1F7
square
#AE5AF7 #F75F5A #A3F75A #5AF1F7
split-complementary
#AE5AF7 #F1F75A #5AF75F
monochromatic
#720ACD #9120F4 #AE5AF7 #CB94FA #E7CFFD

Accessibility & contrast

On white

3.75
#AE5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#AE5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE5AF7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE5AF7#FFFFFF#000000##000000
##AE5AF71.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#3284F4
Tritanopia (blue-blind)
#A17BA1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ae5af7;
/* rgb */ color: rgb(174, 90, 247);
/* oklch */ color: oklch(64.0% 0.228 305.5);
Tailwind
colors: {
  custom: {
    50: '#cb8dfb',
    500: '#ae5af7',
    950: '#000000',
  },
}
SCSS
$custom: #ae5af7;
$custom-light: #cb8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae5af7",
  "rgb": {
    "r": 174,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 272.102,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.2275,
    "h": 305.5
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#AE5AF7
secondary
#D5F0BD
accent
#E6006B
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140D17
muted
#827D85

Preview Lab

Preview with #AE5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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