#AE87EA#AE87EA

#AE87EA is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.146 H 300.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#AE87EA
RGBrgb(174, 135, 234)
HSLhsl(264, 70%, 72%)
HSVhsv(264, 42%, 92%)
CMYKcmyk(25.6%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.56, 34.75, -44.71)
CIE-LCHlch(63.56, 56.62, 307.86°)
OKLaboklab(69.99% 0.0747 -0.1249)
OKLCHoklch(69.99% 0.146 300.9)
XYZxyz(40.9675, 32.2670, 81.8958)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE87EA #C3EA87
analogous
#8792EA #AE87EA #DF87EA
triadic
#AE87EA #EAAE87 #87EAAE
tetradic
#AE87EA #EA8792 #C3EA87 #87EADF
square
#AE87EA #EA8792 #C3EA87 #87EADF
split-complementary
#AE87EA #EADF87 #92EA87
monochromatic
#6925D2 #8B53E1 #AE87EA #D1BBF3 #EDE5FA

Accessibility & contrast

On white

2.82
#AE87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#AE87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE87EA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE87EA#FFFFFF#000000##000000
##AE87EA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7599E7
Tritanopia (blue-blind)
#A398AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ae87ea;
/* rgb */ color: rgb(174, 135, 234);
/* oklch */ color: oklch(70.0% 0.146 300.9);
Tailwind
colors: {
  custom: {
    50: '#c8aaf1',
    500: '#ae87ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae87ea;
$custom-light: #c8aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae87ea",
  "rgb": {
    "r": 174,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 263.636,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69989,
    "c": 0.14553,
    "h": 300.9
  },
  "luminance": 0.32267
}

Semantic roles & 50–950 ramp

primary
#AE87EA
secondary
#E8F2D9
accent
#D21387
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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