#AE8AEF#AE8AEF

#AE8AEF is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.8% C 0.147 H 299.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AE8AEF
RGBrgb(174, 138, 239)
HSLhsl(261, 76%, 74%)
HSVhsv(261, 42%, 94%)
CMYKcmyk(27.2%, 42.3%, 0%, 6.3%)
CIE-LABlab(64.49, 34.26, -46.01)
CIE-LCHlch(64.49, 57.37, 306.68°)
OKLaboklab(70.77% 0.0714 -0.1287)
OKLCHoklch(70.77% 0.147 299)
XYZxyz(42.1204, 33.4073, 85.8738)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8AEF #CBEF8A
analogous
#8A99EF #AE8AEF #E18AEF
triadic
#AE8AEF #EFAE8A #8AEFAE
tetradic
#AE8AEF #EF8A99 #CBEF8A #8AEFE1
square
#AE8AEF #EF8A99 #CBEF8A #8AEFE1
split-complementary
#AE8AEF #EFE18A #99EF8A
monochromatic
#641FE0 #8954E8 #AE8AEF #D3C0F6 #ECE4FB

Accessibility & contrast

On white

2.73
#AE8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AE8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8AEF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8AEF#FFFFFF#000000##000000
##AE8AEF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#A19CB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ae8aef;
/* rgb */ color: rgb(174, 138, 239);
/* oklch */ color: oklch(70.8% 0.147 299.0);
Tailwind
colors: {
  custom: {
    50: '#c8acf4',
    500: '#ae8aef',
    950: '#000000',
  },
}
SCSS
$custom: #ae8aef;
$custom-light: #c8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8aef",
  "rgb": {
    "r": 174,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 261.386,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70766,
    "c": 0.14718,
    "h": 299
  },
  "luminance": 0.33408
}

Semantic roles & 50–950 ramp

primary
#AE8AEF
secondary
#E9F3D8
accent
#D80D90
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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