#AE87FA#AE87FA

#AE87FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.166 H 297.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AE87FA
RGBrgb(174, 135, 250)
HSLhsl(260, 92%, 75%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(30.4%, 46%, 0%, 2%)
CIE-LABlab(64.35, 38.62, -52.28)
CIE-LCHlch(64.35, 65.00, 306.45°)
OKLaboklab(70.83% 0.077 -0.1469)
OKLCHoklch(70.83% 0.166 297.7)
XYZxyz(43.3707, 33.2283, 94.5527)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87FA #D3FA87
analogous
#8799FA #AE87FA #E887FA
triadic
#AE87FA #FAAE87 #87FAAE
tetradic
#AE87FA #FA8799 #D3FA87 #87FAE8
square
#AE87FA #FA8799 #D3FA87 #87FAE8
split-complementary
#AE87FA #FAE887 #99FA87
monochromatic
#5F11F5 #864CF8 #AE87FA #D6C2FC #EBE2FE

Accessibility & contrast

On white

2.75
#AE87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AE87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87FA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87FA#FFFFFF#000000##000000
##AE87FA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#9E9CB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87fa;
/* rgb */ color: rgb(174, 135, 250);
/* oklch */ color: oklch(70.8% 0.166 297.7);
Tailwind
colors: {
  custom: {
    50: '#c9aafc',
    500: '#ae87fa',
    950: '#000000',
  },
}
SCSS
$custom: #ae87fa;
$custom-light: #c9aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87fa",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 260.348,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70833,
    "c": 0.16591,
    "h": 297.7
  },
  "luminance": 0.33229
}

Semantic roles & 50–950 ramp

primary
#AE87FA
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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