#AE8BEF#AE8BEF

#AE8BEF is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.146 H 298.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AE8BEF
RGBrgb(174, 139, 239)
HSLhsl(261, 76%, 74%)
HSVhsv(261, 42%, 94%)
CMYKcmyk(27.2%, 41.8%, 0%, 6.3%)
CIE-LABlab(64.72, 33.70, -45.65)
CIE-LCHlch(64.72, 56.74, 306.44°)
OKLaboklab(70.94% 0.0701 -0.1276)
OKLCHoklch(70.94% 0.146 298.8)
XYZxyz(42.2645, 33.6956, 85.9219)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8BEF #CCEF8B
analogous
#8B9AEF #AE8BEF #E08BEF
triadic
#AE8BEF #EFAE8B #8BEFAE
tetradic
#AE8BEF #EF8B9A #CCEF8B #8BEFE0
square
#AE8BEF #EF8B9A #CCEF8B #8BEFE0
split-complementary
#AE8BEF #EFE08B #9AEF8B
monochromatic
#631FE0 #8855E8 #AE8BEF #D4C1F6 #ECE4FB

Accessibility & contrast

On white

2.71
#AE8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#AE8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8BEF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8BEF#FFFFFF#000000##000000
##AE8BEF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#A19CB2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae8bef;
/* rgb */ color: rgb(174, 139, 239);
/* oklch */ color: oklch(70.9% 0.146 298.8);
Tailwind
colors: {
  custom: {
    50: '#c8adf4',
    500: '#ae8bef',
    950: '#000000',
  },
}
SCSS
$custom: #ae8bef;
$custom-light: #c8adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8bef",
  "rgb": {
    "r": 174,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 261,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.14561,
    "h": 298.8
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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