#AE8EF8#AE8EF8

#AE8EF8 is a light, vivid violet. Relative luminance 0.351; OKLCH L 71.9% C 0.153 H 296.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AE8EF8
RGBrgb(174, 142, 248)
HSLhsl(258, 88%, 76%)
HSVhsv(258, 43%, 97%)
CMYKcmyk(29.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(65.84, 34.22, -48.82)
CIE-LCHlch(65.84, 59.62, 305.03°)
OKLaboklab(71.93% 0.0675 -0.1369)
OKLCHoklch(71.93% 0.153 296.3)
XYZxyz(44.0677, 35.1214, 93.2461)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8EF8 #D8F88E
analogous
#8EA3F8 #AE8EF8 #E38EF8
triadic
#AE8EF8 #F8AE8E #8EF8AE
tetradic
#AE8EF8 #F88EA3 #D8F88E #8EF8E3
square
#AE8EF8 #F88EA3 #D8F88E #8EF8E3
split-complementary
#AE8EF8 #F8E38E #A3F88E
monochromatic
#5B1BF1 #8554F4 #AE8EF8 #D7C8FC #EAE2FD

Accessibility & contrast

On white

2.62
#AE8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AE8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8EF8
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8EF8#FFFFFF#000000##000000
##AE8EF81.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FC
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#9EA1B7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ae8ef8;
/* rgb */ color: rgb(174, 142, 248);
/* oklch */ color: oklch(71.9% 0.153 296.3);
Tailwind
colors: {
  custom: {
    50: '#c8affb',
    500: '#ae8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ae8ef8;
$custom-light: #c8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8ef8",
  "rgb": {
    "r": 174,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 258.113,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71928,
    "c": 0.15262,
    "h": 296.3
  },
  "luminance": 0.35122
}

Semantic roles & 50–950 ramp

primary
#AE8EF8
secondary
#ECF5D6
accent
#E501A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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