#AE87D3#AE87D3

#AE87D3 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.9% C 0.116 H 307.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AE87D3
RGBrgb(174, 135, 211)
HSLhsl(271, 46%, 68%)
HSVhsv(271, 36%, 83%)
CMYKcmyk(17.5%, 36%, 0%, 17.3%)
CIE-LABlab(62.53, 29.43, -33.53)
CIE-LCHlch(62.53, 44.61, 311.28°)
OKLaboklab(68.87% 0.0702 -0.0926)
OKLCHoklch(68.87% 0.116 307.1)
XYZxyz(37.8751, 31.0301, 65.6095)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D3 #ACD387
analogous
#8887D3 #AE87D3 #D387D2
triadic
#AE87D3 #D3AE87 #87D3AE
tetradic
#AE87D3 #D38887 #ACD387 #87D2D3
square
#AE87D3 #D38887 #ACD387 #87D2D3
split-complementary
#AE87D3 #D2D387 #87D388
monochromatic
#713CA4 #905AC3 #AE87D3 #CCB4E3 #EAE1F4

Accessibility & contrast

On white

2.91
#AE87D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AE87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D3#FFFFFF#000000##000000
##AE87D31.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D6
Deuteranopia (green-blind)
#8098D1
Tritanopia (blue-blind)
#A992A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87d3;
/* rgb */ color: rgb(174, 135, 211);
/* oklch */ color: oklch(68.9% 0.116 307.1);
Tailwind
colors: {
  custom: {
    50: '#c7aae0',
    500: '#ae87d3',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d3;
$custom-light: #c7aae0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d3",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 270.789,
    "s": 46.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.1162,
    "h": 307.1
  },
  "luminance": 0.3103
}

Semantic roles & 50–950 ramp

primary
#AE87D3
secondary
#DBE7CF
accent
#BA2C71
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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