#AE87F7#AE87F7

#AE87F7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.162 H 298.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AE87F7
RGBrgb(174, 135, 247)
HSLhsl(261, 88%, 75%)
HSVhsv(261, 45%, 97%)
CMYKcmyk(29.6%, 45.3%, 0%, 3.1%)
CIE-LABlab(64.19, 37.88, -50.88)
CIE-LCHlch(64.19, 63.43, 306.67°)
OKLaboklab(70.67% 0.0766 -0.1428)
OKLCHoklch(70.67% 0.162 298.2)
XYZxyz(42.9040, 33.0416, 92.0950)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F7 #D0F787
analogous
#8798F7 #AE87F7 #E687F7
triadic
#AE87F7 #F7AE87 #87F7AE
tetradic
#AE87F7 #F78798 #D0F787 #87F7E6
square
#AE87F7 #F78798 #D0F787 #87F7E6
split-complementary
#AE87F7 #F7E687 #98F787
monochromatic
#6114EF #874EF3 #AE87F7 #D5C0FB #ECE2FD

Accessibility & contrast

On white

2.76
#AE87F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AE87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F7#FFFFFF#000000##000000
##AE87F71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#9F9BB3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87f7;
/* rgb */ color: rgb(174, 135, 247);
/* oklch */ color: oklch(70.7% 0.162 298.2);
Tailwind
colors: {
  custom: {
    50: '#c9aafa',
    500: '#ae87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f7;
$custom-light: #c9aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f7",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 260.893,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70671,
    "c": 0.1621,
    "h": 298.2
  },
  "luminance": 0.33042
}

Semantic roles & 50–950 ramp

primary
#AE87F7
secondary
#EAF5D6
accent
#E40195
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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