#AE87E2#AE87E2

#AE87E2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.6% C 0.135 H 302.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AE87E2
RGBrgb(174, 135, 226)
HSLhsl(266, 61%, 71%)
HSVhsv(266, 40%, 89%)
CMYKcmyk(23%, 40.3%, 0%, 11.4%)
CIE-LABlab(63.19, 32.86, -40.86)
CIE-LCHlch(63.19, 52.43, 308.81°)
OKLaboklab(69.59% 0.0733 -0.1137)
OKLCHoklch(69.59% 0.135 302.8)
XYZxyz(39.8441, 31.8176, 75.9791)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87E2 #BBE287
analogous
#878DE2 #AE87E2 #DB87E2
triadic
#AE87E2 #E2AE87 #87E2AE
tetradic
#AE87E2 #E2878D #BBE287 #87E2DB
square
#AE87E2 #E2878D #BBE287 #87E2DB
split-complementary
#AE87E2 #E2DB87 #8DE287
monochromatic
#6D2EC0 #8D56D6 #AE87E2 #CFB8EE #EEE6F9

Accessibility & contrast

On white

2.85
#AE87E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AE87E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87E2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87E2#FFFFFF#000000##000000
##AE87E21.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#7999E0
Tritanopia (blue-blind)
#A596AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae87e2;
/* rgb */ color: rgb(174, 135, 226);
/* oklch */ color: oklch(69.6% 0.135 302.8);
Tailwind
colors: {
  custom: {
    50: '#c8aaeb',
    500: '#ae87e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae87e2;
$custom-light: #c8aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87e2",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 226
  },
  "hsl": {
    "h": 265.714,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69588,
    "c": 0.13531,
    "h": 302.8
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#AE87E2
secondary
#E4EFD6
accent
#C91D7F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AE87E2

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

Preview Lab → · Contrast checker → · Palette generator →

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