#AE87E1#AE87E1

#AE87E1 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.5% C 0.134 H 303.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AE87E1
RGBrgb(174, 135, 225)
HSLhsl(266, 60%, 71%)
HSVhsv(266, 40%, 88%)
CMYKcmyk(22.7%, 40%, 0%, 11.8%)
CIE-LABlab(63.15, 32.63, -40.37)
CIE-LCHlch(63.15, 51.91, 308.95°)
OKLaboklab(69.54% 0.0731 -0.1123)
OKLCHoklch(69.54% 0.134 303)
XYZxyz(39.7072, 31.7629, 75.2585)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E1 #BAE187
analogous
#878DE1 #AE87E1 #DB87E1
triadic
#AE87E1 #E1AE87 #87E1AE
tetradic
#AE87E1 #E1878D #BAE187 #87E1DB
square
#AE87E1 #E1878D #BAE187 #87E1DB
split-complementary
#AE87E1 #E1DB87 #8DE187
monochromatic
#6D30BE #8D56D5 #AE87E1 #CFB8ED #EEE7F9

Accessibility & contrast

On white

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

On black

7.35
#AE87E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E1
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E1#FFFFFF#000000##000000
##AE87E11.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E4
Deuteranopia (green-blind)
#7999DF
Tritanopia (blue-blind)
#A596A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae87e1;
/* rgb */ color: rgb(174, 135, 225);
/* oklch */ color: oklch(69.5% 0.134 303.0);
Tailwind
colors: {
  custom: {
    50: '#c8aaeb',
    500: '#ae87e1',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e1;
$custom-light: #c8aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e1",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 266,
    "s": 60,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.13403,
    "h": 303
  },
  "luminance": 0.31763
}

Semantic roles & 50–950 ramp

primary
#AE87E1
secondary
#E4EED6
accent
#C81E7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E1

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

Preview Lab → · Contrast checker → · Palette generator →

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