#AE87F8#AE87F8

#AE87F8 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.163 H 298.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#AE87F8
RGBrgb(174, 135, 248)
HSLhsl(261, 89%, 75%)
HSVhsv(261, 46%, 97%)
CMYKcmyk(29.8%, 45.6%, 0%, 2.7%)
CIE-LABlab(64.24, 38.13, -51.35)
CIE-LCHlch(64.24, 63.96, 306.60°)
OKLaboklab(70.73% 0.0768 -0.1442)
OKLCHoklch(70.73% 0.163 298)
XYZxyz(43.0588, 33.1035, 92.9098)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F8 #D1F887
analogous
#8798F8 #AE87F8 #E687F8
triadic
#AE87F8 #F8AE87 #87F8AE
tetradic
#AE87F8 #F88798 #D1F887 #87F8E6
square
#AE87F8 #F88798 #D1F887 #87F8E6
split-complementary
#AE87F8 #F8E687 #98F887
monochromatic
#6013F1 #874DF5 #AE87F8 #D5C1FB #EBE2FD

Accessibility & contrast

On white

2.76
#AE87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#AE87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F8#FFFFFF#000000##000000
##AE87F81.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#9F9CB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87f8;
/* rgb */ color: rgb(174, 135, 248);
/* oklch */ color: oklch(70.7% 0.163 298.0);
Tailwind
colors: {
  custom: {
    50: '#c9aafb',
    500: '#ae87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f8;
$custom-light: #c9aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f8",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 260.708,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70725,
    "c": 0.16337,
    "h": 298
  },
  "luminance": 0.33104
}

Semantic roles & 50–950 ramp

primary
#AE87F8
secondary
#EAF5D6
accent
#E60096
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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