#AE87FE#AE87FE

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

Color values

HEX#AE87FE
RGBrgb(174, 135, 254)
HSLhsl(260, 98%, 76%)
HSVhsv(260, 47%, 100%)
CMYKcmyk(31.5%, 46.9%, 0%, 0.4%)
CIE-LABlab(64.55, 39.61, -54.15)
CIE-LCHlch(64.55, 67.09, 306.18°)
OKLaboklab(71.05% 0.0775 -0.1524)
OKLCHoklch(71.05% 0.171 297)
XYZxyz(44.0045, 33.4818, 97.8910)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87FE #D7FE87
analogous
#879CFE #AE87FE #EA87FE
triadic
#AE87FE #FEAE87 #87FEAE
tetradic
#AE87FE #FE879C #D7FE87 #87FEEA
square
#AE87FE #FE879C #D7FE87 #87FEEA
split-complementary
#AE87FE #FEEA87 #9CFE87
monochromatic
#5C0EFD #854AFD #AE87FE #D7C4FF #EBE1FF

Accessibility & contrast

On white

2.73
#AE87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AE87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87FE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87FE#FFFFFF#000000##000000
##AE87FE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#9D9DB7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae87fe;
/* rgb */ color: rgb(174, 135, 254);
/* oklch */ color: oklch(71.1% 0.171 297.0);
Tailwind
colors: {
  custom: {
    50: '#c9aaff',
    500: '#ae87fe',
    950: '#000000',
  },
}
SCSS
$custom: #ae87fe;
$custom-light: #c9aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87fe",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 259.664,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.17097,
    "h": 297
  },
  "luminance": 0.33482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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