#AE87F0#AE87F0

#AE87F0 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.153 H 299.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AE87F0
RGBrgb(174, 135, 240)
HSLhsl(262, 78%, 74%)
HSVhsv(262, 44%, 94%)
CMYKcmyk(27.5%, 43.8%, 0%, 5.9%)
CIE-LABlab(63.85, 36.18, -47.57)
CIE-LCHlch(63.85, 59.77, 307.26°)
OKLaboklab(70.3% 0.0756 -0.1332)
OKLCHoklch(70.3% 0.153 299.6)
XYZxyz(41.8441, 32.6176, 86.5125)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87F0 #C9F087
analogous
#8794F0 #AE87F0 #E387F0
triadic
#AE87F0 #F0AE87 #87F0AE
tetradic
#AE87F0 #F08794 #C9F087 #87F0E3
square
#AE87F0 #F08794 #C9F087 #87F0E3
split-complementary
#AE87F0 #F0E387 #94F087
monochromatic
#651CE1 #8951E9 #AE87F0 #D3BDF7 #EDE4FC

Accessibility & contrast

On white

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

On black

7.52
#AE87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87F0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87F0#FFFFFF#000000##000000
##AE87F01.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF4
Deuteranopia (green-blind)
#719AED
Tritanopia (blue-blind)
#A19AB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87f0;
/* rgb */ color: rgb(174, 135, 240);
/* oklch */ color: oklch(70.3% 0.153 299.6);
Tailwind
colors: {
  custom: {
    50: '#c8aaf5',
    500: '#ae87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ae87f0;
$custom-light: #c8aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87f0",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 262.286,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70299,
    "c": 0.15319,
    "h": 299.6
  },
  "luminance": 0.32618
}

Semantic roles & 50–950 ramp

primary
#AE87F0
secondary
#E9F3D8
accent
#DA0B8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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