#AE87C8#AE87C8

#AE87C8 is a light, moderate violet. Relative luminance 0.305; OKLCH L 68.4% C 0.102 H 311.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#AE87C8
RGBrgb(174, 135, 200)
HSLhsl(276, 37%, 66%)
HSVhsv(276, 33%, 78%)
CMYKcmyk(13%, 32.5%, 0%, 21.6%)
CIE-LABlab(62.08, 27.02, -28.06)
CIE-LCHlch(62.08, 38.95, 313.92°)
OKLaboklab(68.38% 0.0675 -0.077)
OKLCHoklch(68.38% 0.102 311.2)
XYZxyz(36.5431, 30.4972, 58.5938)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87C8 #A1C887
analogous
#8D87C8 #AE87C8 #C887C1
triadic
#AE87C8 #C8AE87 #87C8AE
tetradic
#AE87C8 #C88D87 #A1C887 #87C1C8
square
#AE87C8 #C88D87 #A1C887 #87C1C8
split-complementary
#AE87C8 #C1C887 #87C88D
monochromatic
#724392 #925DB5 #AE87C8 #CAB1DB #E7DBEE

Accessibility & contrast

On white

2.96
#AE87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#AE87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87C8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87C8#FFFFFF#000000##000000
##AE87C81.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C94CB
Deuteranopia (green-blind)
#8497C6
Tritanopia (blue-blind)
#AB909F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ae87c8;
/* rgb */ color: rgb(174, 135, 200);
/* oklch */ color: oklch(68.4% 0.102 311.2);
Tailwind
colors: {
  custom: {
    50: '#c7aad9',
    500: '#ae87c8',
    950: '#000000',
  },
}
SCSS
$custom: #ae87c8;
$custom-light: #c7aad9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87c8",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 276,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.10239,
    "h": 311.2
  },
  "luminance": 0.30497
}

Semantic roles & 50–950 ramp

primary
#AE87C8
secondary
#D3E0CB
accent
#B03566
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AE87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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