#AE87EF#AE87EF

#AE87EF is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.2% C 0.152 H 299.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AE87EF
RGBrgb(174, 135, 239)
HSLhsl(263, 76%, 73%)
HSVhsv(263, 44%, 94%)
CMYKcmyk(27.2%, 43.5%, 0%, 6.3%)
CIE-LABlab(63.80, 35.94, -47.09)
CIE-LCHlch(63.80, 59.24, 307.35°)
OKLaboklab(70.25% 0.0755 -0.1318)
OKLCHoklch(70.25% 0.152 299.8)
XYZxyz(41.6959, 32.5584, 85.7323)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87EF #C8EF87
analogous
#8794EF #AE87EF #E287EF
triadic
#AE87EF #EFAE87 #87EFAE
tetradic
#AE87EF #EF8794 #C8EF87 #87EFE2
square
#AE87EF #EF8794 #C8EF87 #87EFE2
split-complementary
#AE87EF #EFE287 #94EF87
monochromatic
#661EDE #8A51E8 #AE87EF #D2BDF6 #EDE4FB

Accessibility & contrast

On white

2.80
#AE87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AE87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87EF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87EF#FFFFFF#000000##000000
##AE87EF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#A199B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ae87ef;
/* rgb */ color: rgb(174, 135, 239);
/* oklch */ color: oklch(70.2% 0.152 299.8);
Tailwind
colors: {
  custom: {
    50: '#c8aaf4',
    500: '#ae87ef',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ef;
$custom-light: #c8aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ef",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 262.5,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70247,
    "c": 0.15191,
    "h": 299.8
  },
  "luminance": 0.32559
}

Semantic roles & 50–950 ramp

primary
#AE87EF
secondary
#E9F3D8
accent
#D90D8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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