#AE87D2#AE87D2

#AE87D2 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.8% C 0.115 H 307.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AE87D2
RGBrgb(174, 135, 210)
HSLhsl(271, 45%, 68%)
HSVhsv(271, 36%, 82%)
CMYKcmyk(17.1%, 35.7%, 0%, 17.6%)
CIE-LABlab(62.49, 29.21, -33.03)
CIE-LCHlch(62.49, 44.09, 311.49°)
OKLaboklab(68.83% 0.0699 -0.0912)
OKLCHoklch(68.83% 0.115 307.5)
XYZxyz(37.7502, 30.9801, 64.9513)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D2 #ABD287
analogous
#8887D2 #AE87D2 #D287D1
triadic
#AE87D2 #D2AE87 #87D2AE
tetradic
#AE87D2 #D28887 #ABD287 #87D1D2
square
#AE87D2 #D28887 #ABD287 #87D1D2
split-complementary
#AE87D2 #D1D287 #87D288
monochromatic
#713DA2 #905AC1 #AE87D2 #CCB4E3 #EAE0F3

Accessibility & contrast

On white

2.92
#AE87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AE87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D2#FFFFFF#000000##000000
##AE87D21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D5
Deuteranopia (green-blind)
#8098D0
Tritanopia (blue-blind)
#A992A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87d2;
/* rgb */ color: rgb(174, 135, 210);
/* oklch */ color: oklch(68.8% 0.115 307.5);
Tailwind
colors: {
  custom: {
    50: '#c7aae0',
    500: '#ae87d2',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d2;
$custom-light: #c7aae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d2",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 271.2,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68826,
    "c": 0.11494,
    "h": 307.5
  },
  "luminance": 0.3098
}

Semantic roles & 50–950 ramp

primary
#AE87D2
secondary
#DAE6CF
accent
#B92D70
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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