#AE8EFE#AE8EFE

#AE8EFE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.160 H 295.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AE8EFE
RGBrgb(174, 142, 254)
HSLhsl(257, 98%, 78%)
HSVhsv(257, 44%, 100%)
CMYKcmyk(31.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(66.14, 35.70, -51.64)
CIE-LCHlch(66.14, 62.78, 304.66°)
OKLaboklab(72.24% 0.0684 -0.1451)
OKLCHoklch(72.24% 0.16 295.3)
XYZxyz(45.0135, 35.4997, 98.2273)
Luminance0.3550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8EFE #DEFE8E
analogous
#8EA6FE #AE8EFE #E68EFE
triadic
#AE8EFE #FEAE8E #8EFEAE
tetradic
#AE8EFE #FE8EA6 #DEFE8E #8EFEE6
square
#AE8EFE #FE8EA6 #DEFE8E #8EFEE6
split-complementary
#AE8EFE #FEE68E #A6FE8E
monochromatic
#5715FD #8351FD #AE8EFE #D9CBFF #E9E1FF

Accessibility & contrast

On white

2.59
#AE8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AE8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8EFE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8EFE#FFFFFF#000000##000000
##AE8EFE1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#9CA3BA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ae8efe;
/* rgb */ color: rgb(174, 142, 254);
/* oklch */ color: oklch(72.2% 0.160 295.3);
Tailwind
colors: {
  custom: {
    50: '#c9afff',
    500: '#ae8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ae8efe;
$custom-light: #c9afff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8efe",
  "rgb": {
    "r": 174,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 257.143,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.1604,
    "h": 295.3
  },
  "luminance": 0.355
}

Semantic roles & 50–950 ramp

primary
#AE8EFE
secondary
#EDF7D4
accent
#E600A4
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AE8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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