#AE87FF#AE87FF

#AE87FF is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.1% C 0.172 H 296.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AE87FF
RGBrgb(174, 135, 255)
HSLhsl(260, 100%, 76%)
HSVhsv(260, 47%, 100%)
CMYKcmyk(31.8%, 47.1%, 0%, 0%)
CIE-LABlab(64.60, 39.86, -54.62)
CIE-LCHlch(64.60, 67.61, 306.12°)
OKLaboklab(71.11% 0.0776 -0.1538)
OKLCHoklch(71.11% 0.172 296.8)
XYZxyz(44.1651, 33.5460, 98.7365)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87FF #D8FF87
analogous
#879CFF #AE87FF #EA87FF
triadic
#AE87FF #FFAE87 #87FFAE
tetradic
#AE87FF #FF879C #D8FF87 #87FFEA
square
#AE87FF #FF879C #D8FF87 #87FFEA
split-complementary
#AE87FF #FFEA87 #9CFF87
monochromatic
#5B0DFF #854AFF #AE87FF #D7C4FF #EAE0FF

Accessibility & contrast

On white

2.72
#AE87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AE87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87FF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87FF#FFFFFF#000000##000000
##AE87FF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#9C9EB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae87ff;
/* rgb */ color: rgb(174, 135, 255);
/* oklch */ color: oklch(71.1% 0.172 296.8);
Tailwind
colors: {
  custom: {
    50: '#c9aaff',
    500: '#ae87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ff;
$custom-light: #c9aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ff",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 259.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71107,
    "c": 0.17223,
    "h": 296.8
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

primary
#AE87FF
secondary
#ECF7D4
accent
#E6009B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AE87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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