#AE87CD#AE87CD

#AE87CD is a light, moderate violet. Relative luminance 0.307; OKLCH L 68.6% C 0.109 H 309.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AE87CD
RGBrgb(174, 135, 205)
HSLhsl(273, 41%, 67%)
HSVhsv(273, 34%, 80%)
CMYKcmyk(15.1%, 34.1%, 0%, 19.6%)
CIE-LABlab(62.28, 28.11, -30.55)
CIE-LCHlch(62.28, 41.51, 312.61°)
OKLaboklab(68.6% 0.0687 -0.0841)
OKLCHoklch(68.6% 0.109 309.2)
XYZxyz(37.1370, 30.7348, 61.7218)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87CD #A6CD87
analogous
#8B87CD #AE87CD #CD87C9
triadic
#AE87CD #CDAE87 #87CDAE
tetradic
#AE87CD #CD8B87 #A6CD87 #87C9CD
square
#AE87CD #CD8B87 #A6CD87 #87C9CD
split-complementary
#AE87CD #C9CD87 #87CD8B
monochromatic
#72409A #915CBB #AE87CD #CBB2DF #E8DDF1

Accessibility & contrast

On white

2.94
#AE87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AE87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87CD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87CD#FFFFFF#000000##000000
##AE87CD1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#AA91A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae87cd;
/* rgb */ color: rgb(174, 135, 205);
/* oklch */ color: oklch(68.6% 0.109 309.2);
Tailwind
colors: {
  custom: {
    50: '#c7aadc',
    500: '#ae87cd',
    950: '#000000',
  },
}
SCSS
$custom: #ae87cd;
$custom-light: #c7aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87cd",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 273.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.686,
    "c": 0.10864,
    "h": 309.2
  },
  "luminance": 0.30734
}

Semantic roles & 50–950 ramp

primary
#AE87CD
secondary
#D7E3CD
accent
#B4316B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AE87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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