#AE87E9#AE87E9

#AE87E9 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.144 H 301.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#AE87E9
RGBrgb(174, 135, 233)
HSLhsl(264, 69%, 72%)
HSVhsv(264, 42%, 91%)
CMYKcmyk(25.3%, 42.1%, 0%, 8.6%)
CIE-LABlab(63.52, 34.51, -44.23)
CIE-LCHlch(63.52, 56.10, 307.96°)
OKLaboklab(69.94% 0.0745 -0.1235)
OKLCHoklch(69.94% 0.144 301.1)
XYZxyz(40.8242, 32.2097, 81.1413)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E9 #C2E987
analogous
#8791E9 #AE87E9 #DF87E9
triadic
#AE87E9 #E9AE87 #87E9AE
tetradic
#AE87E9 #E98791 #C2E987 #87E9DF
square
#AE87E9 #E98791 #C2E987 #87E9DF
split-complementary
#AE87E9 #E9DF87 #91E987
monochromatic
#6A26D0 #8B53E0 #AE87E9 #D1BBF2 #EEE5FA

Accessibility & contrast

On white

2.82
#AE87E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#AE87E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E9#FFFFFF#000000##000000
##AE87E91.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99ED
Deuteranopia (green-blind)
#7599E6
Tritanopia (blue-blind)
#A398AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ae87e9;
/* rgb */ color: rgb(174, 135, 233);
/* oklch */ color: oklch(69.9% 0.144 301.1);
Tailwind
colors: {
  custom: {
    50: '#c8aaf0',
    500: '#ae87e9',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e9;
$custom-light: #c8aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e9",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 233
  },
  "hsl": {
    "h": 263.878,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69938,
    "c": 0.14425,
    "h": 301.1
  },
  "luminance": 0.3221
}

Semantic roles & 50–950 ramp

primary
#AE87E9
secondary
#E8F2D9
accent
#D11586
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E9

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

Preview Lab → · Contrast checker → · Palette generator →

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