#AE87CF#AE87CF

#AE87CF is a light, moderate violet. Relative luminance 0.308; OKLCH L 68.7% C 0.111 H 308.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#AE87CF
RGBrgb(174, 135, 207)
HSLhsl(273, 43%, 67%)
HSVhsv(273, 35%, 81%)
CMYKcmyk(15.9%, 34.8%, 0%, 18.8%)
CIE-LABlab(62.37, 28.55, -31.55)
CIE-LCHlch(62.37, 42.54, 312.14°)
OKLaboklab(68.69% 0.0692 -0.087)
OKLCHoklch(68.69% 0.111 308.5)
XYZxyz(37.3799, 30.8320, 63.0014)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87CF #A8CF87
analogous
#8A87CF #AE87CF #CF87CC
triadic
#AE87CF #CFAE87 #87CFAE
tetradic
#AE87CF #CF8A87 #A8CF87 #87CCCF
square
#AE87CF #CF8A87 #A8CF87 #87CCCF
split-complementary
#AE87CF #CCCF87 #87CF8A
monochromatic
#723F9D #905BBE #AE87CF #CCB3E0 #E9DEF2

Accessibility & contrast

On white

2.93
#AE87CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#AE87CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87CF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87CF#FFFFFF#000000##000000
##AE87CF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#8297CD
Tritanopia (blue-blind)
#AA91A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87cf;
/* rgb */ color: rgb(174, 135, 207);
/* oklch */ color: oklch(68.7% 0.111 308.5);
Tailwind
colors: {
  custom: {
    50: '#c7aade',
    500: '#ae87cf',
    950: '#000000',
  },
}
SCSS
$custom: #ae87cf;
$custom-light: #c7aade;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87cf",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 272.5,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6869,
    "c": 0.11115,
    "h": 308.5
  },
  "luminance": 0.30832
}

Semantic roles & 50–950 ramp

primary
#AE87CF
secondary
#D8E4CD
accent
#B6306D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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