#AE8CEB#AE8CEB

#AE8CEB is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.139 H 299.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#AE8CEB
RGBrgb(174, 140, 235)
HSLhsl(261, 70%, 74%)
HSVhsv(261, 40%, 92%)
CMYKcmyk(26%, 40.4%, 0%, 7.8%)
CIE-LABlab(64.77, 32.18, -43.37)
CIE-LCHlch(64.77, 54.00, 306.58°)
OKLaboklab(70.91% 0.068 -0.121)
OKLCHoklch(70.91% 0.139 299.3)
XYZxyz(41.8256, 33.7528, 82.8926)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CEB #C9EB8C
analogous
#8C99EB #AE8CEB #DD8CEB
triadic
#AE8CEB #EBAE8C #8CEBAE
tetradic
#AE8CEB #EB8C99 #C9EB8C #8CEBDD
square
#AE8CEB #EB8C99 #C9EB8C #8CEBDD
split-complementary
#AE8CEB #EBDD8C #99EB8C
monochromatic
#6525D7 #8958E2 #AE8CEB #D3C0F4 #EDE5FA

Accessibility & contrast

On white

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

On black

7.75
#AE8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CEB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CEB#FFFFFF#000000##000000
##AE8CEB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#A29CB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ae8ceb;
/* rgb */ color: rgb(174, 140, 235);
/* oklch */ color: oklch(70.9% 0.139 299.3);
Tailwind
colors: {
  custom: {
    50: '#c8aef2',
    500: '#ae8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ae8ceb;
$custom-light: #c8aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8ceb",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 261.474,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.13883,
    "h": 299.3
  },
  "luminance": 0.33753
}

Semantic roles & 50–950 ramp

primary
#AE8CEB
secondary
#E9F2D9
accent
#D2138E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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