#AE87DF#AE87DF

#AE87DF is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.4% C 0.131 H 303.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AE87DF
RGBrgb(174, 135, 223)
HSLhsl(267, 58%, 70%)
HSVhsv(267, 39%, 87%)
CMYKcmyk(22%, 39.5%, 0%, 12.5%)
CIE-LABlab(63.06, 32.17, -39.40)
CIE-LCHlch(63.06, 50.86, 309.23°)
OKLaboklab(69.44% 0.0727 -0.1095)
OKLCHoklch(69.44% 0.131 303.6)
XYZxyz(39.4360, 31.6544, 73.8301)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87DF #B8DF87
analogous
#878CDF #AE87DF #DA87DF
triadic
#AE87DF #DFAE87 #87DFAE
tetradic
#AE87DF #DF878C #B8DF87 #87DFDA
square
#AE87DF #DF878C #B8DF87 #87DFDA
split-complementary
#AE87DF #DFDA87 #8CDF87
monochromatic
#6E32BA #8D57D2 #AE87DF #CFB7EC #EFE7F9

Accessibility & contrast

On white

2.86
#AE87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AE87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87DF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87DF#FFFFFF#000000##000000
##AE87DF1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7298E2
Deuteranopia (green-blind)
#7A99DD
Tritanopia (blue-blind)
#A695A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae87df;
/* rgb */ color: rgb(174, 135, 223);
/* oklch */ color: oklch(69.4% 0.131 303.6);
Tailwind
colors: {
  custom: {
    50: '#c7aae9',
    500: '#ae87df',
    950: '#000000',
  },
}
SCSS
$custom: #ae87df;
$custom-light: #c7aae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87df",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 266.591,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69441,
    "c": 0.13147,
    "h": 303.6
  },
  "luminance": 0.31654
}

Semantic roles & 50–950 ramp

primary
#AE87DF
secondary
#E2EDD5
accent
#C5207C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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