#AE87EE#AE87EE

#AE87EE is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.2% C 0.151 H 300.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AE87EE
RGBrgb(174, 135, 238)
HSLhsl(263, 75%, 73%)
HSVhsv(263, 43%, 93%)
CMYKcmyk(26.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(63.75, 35.70, -46.62)
CIE-LCHlch(63.75, 58.72, 307.45°)
OKLaboklab(70.19% 0.0753 -0.1304)
OKLCHoklch(70.19% 0.151 300)
XYZxyz(41.5486, 32.4995, 84.9564)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87EE #C7EE87
analogous
#8793EE #AE87EE #E187EE
triadic
#AE87EE #EEAE87 #87EEAE
tetradic
#AE87EE #EE8793 #C7EE87 #87EEE1
square
#AE87EE #EE8793 #C7EE87 #87EEE1
split-complementary
#AE87EE #EEE187 #93EE87
monochromatic
#661FDC #8A51E6 #AE87EE #D2BDF6 #EDE4FB

Accessibility & contrast

On white

2.80
#AE87EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AE87EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87EE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87EE#FFFFFF#000000##000000
##AE87EE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#729AEB
Tritanopia (blue-blind)
#A299AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ae87ee;
/* rgb */ color: rgb(174, 135, 238);
/* oklch */ color: oklch(70.2% 0.151 300.0);
Tailwind
colors: {
  custom: {
    50: '#c8aaf4',
    500: '#ae87ee',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ee;
$custom-light: #c8aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ee",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 262.718,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.15064,
    "h": 300
  },
  "luminance": 0.325
}

Semantic roles & 50–950 ramp

primary
#AE87EE
secondary
#E9F3D8
accent
#D70E8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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