#AE87F1#AE87F1

#AE87F1 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.4% C 0.154 H 299.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AE87F1
RGBrgb(174, 135, 241)
HSLhsl(262, 79%, 74%)
HSVhsv(262, 44%, 95%)
CMYKcmyk(27.8%, 44%, 0%, 5.5%)
CIE-LABlab(63.90, 36.43, -48.04)
CIE-LCHlch(63.90, 60.29, 307.17°)
OKLaboklab(70.35% 0.0758 -0.1346)
OKLCHoklch(70.35% 0.154 299.4)
XYZxyz(41.9930, 32.6772, 87.2970)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F1 #CAF187
analogous
#8795F1 #AE87F1 #E387F1
triadic
#AE87F1 #F1AE87 #87F1AE
tetradic
#AE87F1 #F18795 #CAF187 #87F1E3
square
#AE87F1 #F18795 #CAF187 #87F1E3
split-complementary
#AE87F1 #F1E387 #95F187
monochromatic
#641AE3 #8950EB #AE87F1 #D3BEF7 #EDE4FC

Accessibility & contrast

On white

2.79
#AE87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AE87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F1
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F1#FFFFFF#000000##000000
##AE87F11.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF5
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#A19AB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f1;
/* rgb */ color: rgb(174, 135, 241);
/* oklch */ color: oklch(70.4% 0.154 299.4);
Tailwind
colors: {
  custom: {
    50: '#c8aaf6',
    500: '#ae87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f1;
$custom-light: #c8aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f1",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 262.075,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70352,
    "c": 0.15446,
    "h": 299.4
  },
  "luminance": 0.32677
}

Semantic roles & 50–950 ramp

primary
#AE87F1
secondary
#E9F4D7
accent
#DB0A8E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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