#AE87FB#AE87FB

#AE87FB is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.167 H 297.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AE87FB
RGBrgb(174, 135, 251)
HSLhsl(260, 94%, 76%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(30.7%, 46.2%, 0%, 1.6%)
CIE-LABlab(64.40, 38.87, -52.75)
CIE-LCHlch(64.40, 65.52, 306.38°)
OKLaboklab(70.89% 0.0771 -0.1483)
OKLCHoklch(70.89% 0.167 297.5)
XYZxyz(43.5279, 33.2912, 95.3807)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87FB #D4FB87
analogous
#879AFB #AE87FB #E887FB
triadic
#AE87FB #FBAE87 #87FBAE
tetradic
#AE87FB #FB879A #D4FB87 #87FBE8
square
#AE87FB #FB879A #D4FB87 #87FBE8
split-complementary
#AE87FB #FBE887 #9AFB87
monochromatic
#5E11F7 #864CF9 #AE87FB #D6C2FD #EBE1FE

Accessibility & contrast

On white

2.74
#AE87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AE87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87FB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87FB#FFFFFF#000000##000000
##AE87FB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#9E9CB5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87fb;
/* rgb */ color: rgb(174, 135, 251);
/* oklch */ color: oklch(70.9% 0.167 297.5);
Tailwind
colors: {
  custom: {
    50: '#c9aafd',
    500: '#ae87fb',
    950: '#000000',
  },
}
SCSS
$custom: #ae87fb;
$custom-light: #c9aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87fb",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 260.172,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70887,
    "c": 0.16717,
    "h": 297.5
  },
  "luminance": 0.33292
}

Semantic roles & 50–950 ramp

primary
#AE87FB
secondary
#EBF6D5
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AE87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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