#AE87F5#AE87F5

#AE87F5 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.160 H 298.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AE87F5
RGBrgb(174, 135, 245)
HSLhsl(261, 85%, 75%)
HSVhsv(261, 45%, 96%)
CMYKcmyk(29%, 44.9%, 0%, 3.9%)
CIE-LABlab(64.10, 37.40, -49.93)
CIE-LCHlch(64.10, 62.39, 306.83°)
OKLaboklab(70.56% 0.0764 -0.1401)
OKLCHoklch(70.56% 0.16 298.6)
XYZxyz(42.5971, 32.9188, 90.4783)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F5 #CEF587
analogous
#8797F5 #AE87F5 #E587F5
triadic
#AE87F5 #F5AE87 #87F5AE
tetradic
#AE87F5 #F58797 #CEF587 #87F5E5
square
#AE87F5 #F58797 #CEF587 #87F5E5
split-complementary
#AE87F5 #F5E587 #97F587
monochromatic
#6216EC #884FF0 #AE87F5 #D4BFFA #ECE3FD

Accessibility & contrast

On white

2.77
#AE87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AE87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F5#FFFFFF#000000##000000
##AE87F51.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#A09BB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f5;
/* rgb */ color: rgb(174, 135, 245);
/* oklch */ color: oklch(70.6% 0.160 298.6);
Tailwind
colors: {
  custom: {
    50: '#c9aaf9',
    500: '#ae87f5',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f5;
$custom-light: #c9aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f5",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 261.273,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70564,
    "c": 0.15956,
    "h": 298.6
  },
  "luminance": 0.32919
}

Semantic roles & 50–950 ramp

primary
#AE87F5
secondary
#EAF5D6
accent
#E10493
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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