#AE87F9#AE87F9

#AE87F9 is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.165 H 297.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AE87F9
RGBrgb(174, 135, 249)
HSLhsl(261, 90%, 75%)
HSVhsv(261, 46%, 98%)
CMYKcmyk(30.1%, 45.8%, 0%, 2.4%)
CIE-LABlab(64.29, 38.37, -51.81)
CIE-LCHlch(64.29, 64.48, 306.52°)
OKLaboklab(70.78% 0.0769 -0.1456)
OKLCHoklch(70.78% 0.165 297.8)
XYZxyz(43.2143, 33.1657, 93.7291)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F9 #D2F987
analogous
#8799F9 #AE87F9 #E787F9
triadic
#AE87F9 #F9AE87 #87F9AE
tetradic
#AE87F9 #F98799 #D2F987 #87F9E7
square
#AE87F9 #F98799 #D2F987 #87F9E7
split-complementary
#AE87F9 #F9E787 #99F987
monochromatic
#5F12F3 #874DF6 #AE87F9 #D5C1FC #EBE2FE

Accessibility & contrast

On white

2.75
#AE87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AE87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F9#FFFFFF#000000##000000
##AE87F91.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#6B9BF6
Tritanopia (blue-blind)
#9E9CB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae87f9;
/* rgb */ color: rgb(174, 135, 249);
/* oklch */ color: oklch(70.8% 0.165 297.8);
Tailwind
colors: {
  custom: {
    50: '#c9aafc',
    500: '#ae87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f9;
$custom-light: #c9aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f9",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 260.526,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70779,
    "c": 0.16464,
    "h": 297.8
  },
  "luminance": 0.33166
}

Semantic roles & 50–950 ramp

primary
#AE87F9
secondary
#EBF6D5
accent
#E60097
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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