#AE87F3#AE87F3

#AE87F3 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.157 H 299.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AE87F3
RGBrgb(174, 135, 243)
HSLhsl(262, 82%, 74%)
HSVhsv(262, 44%, 95%)
CMYKcmyk(28.4%, 44.4%, 0%, 4.7%)
CIE-LABlab(64.00, 36.91, -48.99)
CIE-LCHlch(64.00, 61.34, 307.00°)
OKLaboklab(70.46% 0.0761 -0.1373)
OKLCHoklch(70.46% 0.157 299)
XYZxyz(42.2934, 32.7974, 88.8790)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F3 #CCF387
analogous
#8796F3 #AE87F3 #E487F3
triadic
#AE87F3 #F3AE87 #87F3AE
tetradic
#AE87F3 #F38796 #CCF387 #87F3E4
square
#AE87F3 #F38796 #CCF387 #87F3E4
split-complementary
#AE87F3 #F3E487 #96F387
monochromatic
#6318E8 #884FED #AE87F3 #D4BFF9 #ECE3FC

Accessibility & contrast

On white

2.78
#AE87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AE87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F3
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F3#FFFFFF#000000##000000
##AE87F31.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#A09AB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f3;
/* rgb */ color: rgb(174, 135, 243);
/* oklch */ color: oklch(70.5% 0.157 299.0);
Tailwind
colors: {
  custom: {
    50: '#c8aaf7',
    500: '#ae87f3',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f3;
$custom-light: #c8aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f3",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 261.667,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.15701,
    "h": 299
  },
  "luminance": 0.32798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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