#AE87D4#AE87D4

#AE87D4 is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.9% C 0.117 H 306.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#AE87D4
RGBrgb(174, 135, 212)
HSLhsl(270, 47%, 68%)
HSVhsv(270, 36%, 83%)
CMYKcmyk(17.9%, 36.3%, 0%, 16.9%)
CIE-LABlab(62.58, 29.66, -34.02)
CIE-LCHlch(62.58, 45.13, 311.08°)
OKLaboklab(68.92% 0.0704 -0.094)
OKLCHoklch(68.92% 0.117 306.8)
XYZxyz(38.0009, 31.0804, 66.2718)
Luminance0.3108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87D4 #ADD487
analogous
#8787D4 #AE87D4 #D487D3
triadic
#AE87D4 #D4AE87 #87D4AE
tetradic
#AE87D4 #D48787 #ADD487 #87D3D4
square
#AE87D4 #D48787 #ADD487 #87D3D4
split-complementary
#AE87D4 #D3D487 #87D487
monochromatic
#713BA5 #905AC4 #AE87D4 #CCB4E4 #EBE1F4

Accessibility & contrast

On white

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

On black

7.22
#AE87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87D4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87D4#FFFFFF#000000##000000
##AE87D41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7796D7
Deuteranopia (green-blind)
#7F98D2
Tritanopia (blue-blind)
#A992A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87d4;
/* rgb */ color: rgb(174, 135, 212);
/* oklch */ color: oklch(68.9% 0.117 306.8);
Tailwind
colors: {
  custom: {
    50: '#c7aae1',
    500: '#ae87d4',
    950: '#000000',
  },
}
SCSS
$custom: #ae87d4;
$custom-light: #c7aae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87d4",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 270.39,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68918,
    "c": 0.11747,
    "h": 306.8
  },
  "luminance": 0.3108
}

Semantic roles & 50–950 ramp

primary
#AE87D4
secondary
#DBE7D0
accent
#BA2B72
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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