#AE87ED#AE87ED

#AE87ED is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.1% C 0.149 H 300.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AE87ED
RGBrgb(174, 135, 237)
HSLhsl(263, 74%, 73%)
HSVhsv(263, 43%, 93%)
CMYKcmyk(26.6%, 43%, 0%, 7.1%)
CIE-LABlab(63.71, 35.46, -46.14)
CIE-LCHlch(63.71, 58.19, 307.55°)
OKLaboklab(70.14% 0.0752 -0.1291)
OKLCHoklch(70.14% 0.149 300.2)
XYZxyz(41.4021, 32.4409, 84.1848)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87ED #C6ED87
analogous
#8793ED #AE87ED #E187ED
triadic
#AE87ED #EDAE87 #87EDAE
tetradic
#AE87ED #ED8793 #C6ED87 #87EDE1
square
#AE87ED #ED8793 #C6ED87 #87EDE1
split-complementary
#AE87ED #EDE187 #93ED87
monochromatic
#6721D9 #8A52E5 #AE87ED #D2BCF5 #EDE4FB

Accessibility & contrast

On white

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

On black

7.49
#AE87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87ED
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87ED#FFFFFF#000000##000000
##AE87ED1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF1
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#A299AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ae87ed;
/* rgb */ color: rgb(174, 135, 237);
/* oklch */ color: oklch(70.1% 0.149 300.2);
Tailwind
colors: {
  custom: {
    50: '#c8aaf3',
    500: '#ae87ed',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ed;
$custom-light: #c8aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ed",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 262.941,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70143,
    "c": 0.14936,
    "h": 300.2
  },
  "luminance": 0.32441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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