#AE87E7#AE87E7

#AE87E7 is a light, vivid violet. Relative luminance 0.321; OKLCH L 69.8% C 0.142 H 301.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#AE87E7
RGBrgb(174, 135, 231)
HSLhsl(264, 67%, 72%)
HSVhsv(264, 42%, 91%)
CMYKcmyk(24.7%, 41.6%, 0%, 9.4%)
CIE-LABlab(63.42, 34.04, -43.27)
CIE-LCHlch(63.42, 55.05, 308.19°)
OKLaboklab(69.84% 0.0742 -0.1207)
OKLCHoklch(69.84% 0.142 301.6)
XYZxyz(40.5401, 32.0961, 79.6452)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E7 #C0E787
analogous
#8790E7 #AE87E7 #DE87E7
triadic
#AE87E7 #E7AE87 #87E7AE
tetradic
#AE87E7 #E78790 #C0E787 #87E7DE
square
#AE87E7 #E78790 #C0E787 #87E7DE
split-complementary
#AE87E7 #E7DE87 #90E787
monochromatic
#6B29CB #8C54DD #AE87E7 #D0BAF1 #EEE5FA

Accessibility & contrast

On white

2.83
#AE87E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#AE87E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E7#FFFFFF#000000##000000
##AE87E71.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#A497AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ae87e7;
/* rgb */ color: rgb(174, 135, 231);
/* oklch */ color: oklch(69.8% 0.142 301.6);
Tailwind
colors: {
  custom: {
    50: '#c8aaef',
    500: '#ae87e7',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e7;
$custom-light: #c8aaef;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e7",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 231
  },
  "hsl": {
    "h": 264.375,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69837,
    "c": 0.1417,
    "h": 301.6
  },
  "luminance": 0.32096
}

Semantic roles & 50–950 ramp

primary
#AE87E7
secondary
#E7F1D9
accent
#CF1784
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E7

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

Preview Lab → · Contrast checker → · Palette generator →

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