#AE87E4#AE87E4

#AE87E4 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.7% C 0.138 H 302.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AE87E4
RGBrgb(174, 135, 228)
HSLhsl(265, 63%, 71%)
HSVhsv(265, 41%, 89%)
CMYKcmyk(23.7%, 40.8%, 0%, 10.6%)
CIE-LABlab(63.28, 33.33, -41.82)
CIE-LCHlch(63.28, 53.48, 308.55°)
OKLaboklab(69.69% 0.0736 -0.1165)
OKLCHoklch(69.69% 0.138 302.3)
XYZxyz(40.1201, 31.9280, 77.4328)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E4 #BDE487
analogous
#878EE4 #AE87E4 #DC87E4
triadic
#AE87E4 #E4AE87 #87E4AE
tetradic
#AE87E4 #E4878E #BDE487 #87E4DC
square
#AE87E4 #E4878E #BDE487 #87E4DC
split-complementary
#AE87E4 #E4DC87 #8EE487
monochromatic
#6C2CC4 #8C55D9 #AE87E4 #D0B9EF #EEE6F9

Accessibility & contrast

On white

2.84
#AE87E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AE87E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E4#FFFFFF#000000##000000
##AE87E41.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E7
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#A596AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae87e4;
/* rgb */ color: rgb(174, 135, 228);
/* oklch */ color: oklch(69.7% 0.138 302.3);
Tailwind
colors: {
  custom: {
    50: '#c8aaed',
    500: '#ae87e4',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e4;
$custom-light: #c8aaed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e4",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 228
  },
  "hsl": {
    "h": 265.161,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69687,
    "c": 0.13786,
    "h": 302.3
  },
  "luminance": 0.31928
}

Semantic roles & 50–950 ramp

primary
#AE87E4
secondary
#E5F0D7
accent
#CB1A81
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E4

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

Preview Lab → · Contrast checker → · Palette generator →

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