#AE87DC#AE87DC

#AE87DC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.3% C 0.128 H 304.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AE87DC
RGBrgb(174, 135, 220)
HSLhsl(268, 55%, 70%)
HSVhsv(268, 39%, 86%)
CMYKcmyk(20.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(62.92, 31.47, -37.94)
CIE-LCHlch(62.92, 49.30, 309.68°)
OKLaboklab(69.3% 0.0721 -0.1053)
OKLCHoklch(69.3% 0.128 304.4)
XYZxyz(39.0351, 31.4941, 71.7188)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87DC #B5DC87
analogous
#878BDC #AE87DC #D887DC
triadic
#AE87DC #DCAE87 #87DCAE
tetradic
#AE87DC #DC878B #B5DC87 #87DCD8
square
#AE87DC #DC878B #B5DC87 #87DCD8
split-complementary
#AE87DC #DCD887 #8BDC87
monochromatic
#6F35B4 #8E58CE #AE87DC #CEB6EA #EEE6F8

Accessibility & contrast

On white

2.88
#AE87DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AE87DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87DC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87DC#FFFFFF#000000##000000
##AE87DC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#7C98DA
Tritanopia (blue-blind)
#A794A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae87dc;
/* rgb */ color: rgb(174, 135, 220);
/* oklch */ color: oklch(69.3% 0.128 304.4);
Tailwind
colors: {
  custom: {
    50: '#c7aae7',
    500: '#ae87dc',
    950: '#000000',
  },
}
SCSS
$custom: #ae87dc;
$custom-light: #c7aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87dc",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 267.529,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.12764,
    "h": 304.4
  },
  "luminance": 0.31494
}

Semantic roles & 50–950 ramp

primary
#AE87DC
secondary
#E0ECD3
accent
#C22379
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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