#AE8CEE#AE8CEE

#AE8CEE is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.143 H 298.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AE8CEE
RGBrgb(174, 140, 238)
HSLhsl(261, 74%, 74%)
HSVhsv(261, 41%, 93%)
CMYKcmyk(26.9%, 41.2%, 0%, 6.7%)
CIE-LABlab(64.91, 32.90, -44.80)
CIE-LCHlch(64.91, 55.59, 306.29°)
OKLaboklab(71.06% 0.0686 -0.1252)
OKLCHoklch(71.06% 0.143 298.7)
XYZxyz(42.2627, 33.9276, 85.1945)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CEE #CCEE8C
analogous
#8C9BEE #AE8CEE #DF8CEE
triadic
#AE8CEE #EEAE8C #8CEEAE
tetradic
#AE8CEE #EE8C9B #CCEE8C #8CEEDF
square
#AE8CEE #EE8C9B #CCEE8C #8CEEDF
split-complementary
#AE8CEE #EEDF8C #9BEE8C
monochromatic
#6321DE #8857E6 #AE8CEE #D4C1F6 #ECE4FB

Accessibility & contrast

On white

2.70
#AE8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AE8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CEE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CEE#FFFFFF#000000##000000
##AE8CEE1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#A19DB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae8cee;
/* rgb */ color: rgb(174, 140, 238);
/* oklch */ color: oklch(71.1% 0.143 298.7);
Tailwind
colors: {
  custom: {
    50: '#c8aef4',
    500: '#ae8cee',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cee;
$custom-light: #c8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cee",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 260.816,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71064,
    "c": 0.14273,
    "h": 298.7
  },
  "luminance": 0.33928
}

Semantic roles & 50–950 ramp

primary
#AE8CEE
secondary
#EAF3D8
accent
#D60F91
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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