#AE87CA#AE87CA

#AE87CA is a light, moderate violet. Relative luminance 0.306; OKLCH L 68.5% C 0.105 H 310.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#AE87CA
RGBrgb(174, 135, 202)
HSLhsl(275, 39%, 66%)
HSVhsv(275, 33%, 79%)
CMYKcmyk(13.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(62.16, 27.45, -29.06)
CIE-LCHlch(62.16, 39.97, 313.37°)
OKLaboklab(68.47% 0.068 -0.0799)
OKLCHoklch(68.47% 0.105 310.4)
XYZxyz(36.7783, 30.5913, 59.8329)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87CA #A3CA87
analogous
#8C87CA #AE87CA #CA87C4
triadic
#AE87CA #CAAE87 #87CAAE
tetradic
#AE87CA #CA8C87 #A3CA87 #87C4CA
square
#AE87CA #CA8C87 #A3CA87 #87C4CA
split-complementary
#AE87CA #C4CA87 #87CA8C
monochromatic
#724295 #915DB7 #AE87CA #CBB1DD #E7DCEF

Accessibility & contrast

On white

2.95
#AE87CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#AE87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87CA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87CA#FFFFFF#000000##000000
##AE87CA1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae87ca;
/* rgb */ color: rgb(174, 135, 202);
/* oklch */ color: oklch(68.5% 0.105 310.4);
Tailwind
colors: {
  custom: {
    50: '#c7aada',
    500: '#ae87ca',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ca;
$custom-light: #c7aada;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ca",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 274.925,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68467,
    "c": 0.10488,
    "h": 310.4
  },
  "luminance": 0.30591
}

Semantic roles & 50–950 ramp

primary
#AE87CA
secondary
#D5E1CB
accent
#B23468
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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