#AE87CE#AE87CE

#AE87CE is a light, moderate violet. Relative luminance 0.308; OKLCH L 68.6% C 0.110 H 308.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#AE87CE
RGBrgb(174, 135, 206)
HSLhsl(273, 42%, 67%)
HSVhsv(273, 34%, 81%)
CMYKcmyk(15.5%, 34.5%, 0%, 19.2%)
CIE-LABlab(62.32, 28.33, -31.05)
CIE-LCHlch(62.32, 42.03, 312.37°)
OKLaboklab(68.65% 0.069 -0.0855)
OKLCHoklch(68.65% 0.11 308.9)
XYZxyz(37.2581, 30.7832, 62.3595)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87CE #A7CE87
analogous
#8B87CE #AE87CE #CE87CB
triadic
#AE87CE #CEAE87 #87CEAE
tetradic
#AE87CE #CE8B87 #A7CE87 #87CBCE
square
#AE87CE #CE8B87 #A7CE87 #87CBCE
split-complementary
#AE87CE #CBCE87 #87CE8B
monochromatic
#723F9B #915CBC #AE87CE #CBB2E0 #E9DEF1

Accessibility & contrast

On white

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

On black

7.16
#AE87CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87CE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87CE#FFFFFF#000000##000000
##AE87CE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D1
Deuteranopia (green-blind)
#8297CC
Tritanopia (blue-blind)
#AA91A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87ce;
/* rgb */ color: rgb(174, 135, 206);
/* oklch */ color: oklch(68.6% 0.110 308.9);
Tailwind
colors: {
  custom: {
    50: '#c7aadd',
    500: '#ae87ce',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ce;
$custom-light: #c7aadd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ce",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 272.958,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68645,
    "c": 0.1099,
    "h": 308.9
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#AE87CE
secondary
#D7E4CD
accent
#B5306C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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