#AE87FD#AE87FD

#AE87FD is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.170 H 297.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AE87FD
RGBrgb(174, 135, 253)
HSLhsl(260, 97%, 76%)
HSVhsv(260, 47%, 99%)
CMYKcmyk(31.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(64.50, 39.36, -53.69)
CIE-LCHlch(64.50, 66.57, 306.25°)
OKLaboklab(71% 0.0774 -0.151)
OKLCHoklch(71% 0.17 297.1)
XYZxyz(43.8448, 33.4179, 97.0498)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87FD #D6FD87
analogous
#879BFD #AE87FD #E987FD
triadic
#AE87FD #FDAE87 #87FDAE
tetradic
#AE87FD #FD879B #D6FD87 #87FDE9
square
#AE87FD #FD879B #D6FD87 #87FDE9
split-complementary
#AE87FD #FDE987 #9BFD87
monochromatic
#5D0FFB #854BFC #AE87FD #D7C3FE #EBE1FE

Accessibility & contrast

On white

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

On black

7.68
#AE87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87FD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87FD#FFFFFF#000000##000000
##AE87FD1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#9D9DB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87fd;
/* rgb */ color: rgb(174, 135, 253);
/* oklch */ color: oklch(71.0% 0.170 297.1);
Tailwind
colors: {
  custom: {
    50: '#c9aafe',
    500: '#ae87fd',
    950: '#000000',
  },
}
SCSS
$custom: #ae87fd;
$custom-light: #c9aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87fd",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 259.831,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70997,
    "c": 0.1697,
    "h": 297.1
  },
  "luminance": 0.33418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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