#AE87E6#AE87E6

#AE87E6 is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.8% C 0.140 H 301.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#AE87E6
RGBrgb(174, 135, 230)
HSLhsl(265, 66%, 72%)
HSVhsv(265, 41%, 90%)
CMYKcmyk(24.3%, 41.3%, 0%, 9.8%)
CIE-LABlab(63.38, 33.80, -42.79)
CIE-LCHlch(63.38, 54.53, 308.31°)
OKLaboklab(69.79% 0.074 -0.1193)
OKLCHoklch(69.79% 0.14 301.8)
XYZxyz(40.3993, 32.0397, 78.9035)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E6 #BFE687
analogous
#8790E6 #AE87E6 #DE87E6
triadic
#AE87E6 #E6AE87 #87E6AE
tetradic
#AE87E6 #E68790 #BFE687 #87E6DE
square
#AE87E6 #E68790 #BFE687 #87E6DE
split-complementary
#AE87E6 #E6DE87 #90E687
monochromatic
#6B2AC9 #8C54DB #AE87E6 #D0BAF1 #EEE6FA

Accessibility & contrast

On white

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

On black

7.41
#AE87E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E6#FFFFFF#000000##000000
##AE87E61.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E99EA
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#A497AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae87e6;
/* rgb */ color: rgb(174, 135, 230);
/* oklch */ color: oklch(69.8% 0.140 301.8);
Tailwind
colors: {
  custom: {
    50: '#c8aaee',
    500: '#ae87e6',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e6;
$custom-light: #c8aaee;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e6",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 230
  },
  "hsl": {
    "h": 264.632,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69787,
    "c": 0.14042,
    "h": 301.8
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

primary
#AE87E6
secondary
#E7F1D8
accent
#CD1883
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E6

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

Preview Lab → · Contrast checker → · Palette generator →

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