#AE87C7#AE87C7

#AE87C7 is a light, moderate violet. Relative luminance 0.304; OKLCH L 68.3% C 0.101 H 311.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AE87C7
RGBrgb(174, 135, 199)
HSLhsl(277, 36%, 65%)
HSVhsv(277, 32%, 78%)
CMYKcmyk(12.6%, 32.2%, 0%, 22%)
CIE-LABlab(62.04, 26.80, -27.55)
CIE-LCHlch(62.04, 38.44, 314.21°)
OKLaboklab(68.34% 0.0672 -0.0756)
OKLCHoklch(68.34% 0.101 311.6)
XYZxyz(36.4266, 30.4506, 57.9804)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87C7 #A0C787
analogous
#8E87C7 #AE87C7 #C787C0
triadic
#AE87C7 #C7AE87 #87C7AE
tetradic
#AE87C7 #C78E87 #A0C787 #87C0C7
square
#AE87C7 #C78E87 #A0C787 #87C0C7
split-complementary
#AE87C7 #C0C787 #87C78E
monochromatic
#724390 #925DB4 #AE87C7 #CAB1DA #E6DAEE

Accessibility & contrast

On white

2.96
#AE87C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AE87C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87C7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87C7#FFFFFF#000000##000000
##AE87C71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C94CA
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#AC8F9E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae87c7;
/* rgb */ color: rgb(174, 135, 199);
/* oklch */ color: oklch(68.3% 0.101 311.6);
Tailwind
colors: {
  custom: {
    50: '#c7aad8',
    500: '#ae87c7',
    950: '#000000',
  },
}
SCSS
$custom: #ae87c7;
$custom-light: #c7aad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87c7",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 276.563,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68336,
    "c": 0.10116,
    "h": 311.6
  },
  "luminance": 0.3045
}

Semantic roles & 50–950 ramp

primary
#AE87C7
secondary
#D3E0CA
accent
#AF3666
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AE87C7

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

Preview Lab → · Contrast checker → · Palette generator →

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