#AE8CFA#AE8CFA

#AE8CFA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.7% C 0.158 H 296.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#AE8CFA
RGBrgb(174, 140, 250)
HSLhsl(259, 92%, 76%)
HSVhsv(259, 44%, 98%)
CMYKcmyk(30.4%, 44%, 0%, 2%)
CIE-LABlab(65.48, 35.83, -50.49)
CIE-LCHlch(65.48, 61.91, 305.36°)
OKLaboklab(71.69% 0.0705 -0.1417)
OKLCHoklch(71.69% 0.158 296.4)
XYZxyz(44.0847, 34.6564, 94.7907)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CFA #D8FA8C
analogous
#8CA1FA #AE8CFA #E58CFA
triadic
#AE8CFA #FAAE8C #8CFAAE
tetradic
#AE8CFA #FA8CA1 #D8FA8C #8CFAE5
square
#AE8CFA #FA8CA1 #D8FA8C #8CFAE5
split-complementary
#AE8CFA #FAE58C #A1FA8C
monochromatic
#5B17F5 #8551F7 #AE8CFA #D7C7FD #EAE2FE

Accessibility & contrast

On white

2.65
#AE8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#AE8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CFA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CFA#FFFFFF#000000##000000
##AE8CFA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#709EF7
Tritanopia (blue-blind)
#9EA0B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ae8cfa;
/* rgb */ color: rgb(174, 140, 250);
/* oklch */ color: oklch(71.7% 0.158 296.4);
Tailwind
colors: {
  custom: {
    50: '#c9aefc',
    500: '#ae8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cfa;
$custom-light: #c9aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cfa",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 258.545,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71686,
    "c": 0.15826,
    "h": 296.4
  },
  "luminance": 0.34657
}

Semantic roles & 50–950 ramp

primary
#AE8CFA
secondary
#ECF6D5
accent
#E6009F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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