#AE87F4#AE87F4

#AE87F4 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.158 H 298.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AE87F4
RGBrgb(174, 135, 244)
HSLhsl(261, 83%, 74%)
HSVhsv(261, 45%, 96%)
CMYKcmyk(28.7%, 44.7%, 0%, 4.3%)
CIE-LABlab(64.05, 37.15, -49.46)
CIE-LCHlch(64.05, 61.86, 306.91°)
OKLaboklab(70.51% 0.0762 -0.1387)
OKLCHoklch(70.51% 0.158 298.8)
XYZxyz(42.4448, 32.8579, 89.6765)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F4 #CDF487
analogous
#8797F4 #AE87F4 #E587F4
triadic
#AE87F4 #F4AE87 #87F4AE
tetradic
#AE87F4 #F48797 #CDF487 #87F4E5
square
#AE87F4 #F48797 #CDF487 #87F4E5
split-complementary
#AE87F4 #F4E587 #97F487
monochromatic
#6217EA #884FEF #AE87F4 #D4BFF9 #ECE3FC

Accessibility & contrast

On white

2.77
#AE87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AE87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F4
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F4#FFFFFF#000000##000000
##AE87F41.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF8
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#A09BB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f4;
/* rgb */ color: rgb(174, 135, 244);
/* oklch */ color: oklch(70.5% 0.158 298.8);
Tailwind
colors: {
  custom: {
    50: '#c9aaf8',
    500: '#ae87f4',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f4;
$custom-light: #c9aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f4",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 261.468,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7051,
    "c": 0.15828,
    "h": 298.8
  },
  "luminance": 0.32858
}

Semantic roles & 50–950 ramp

primary
#AE87F4
secondary
#EAF4D7
accent
#E00692
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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