#AE8CFD#AE8CFD

#AE8CFD is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.8% C 0.162 H 295.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AE8CFD
RGBrgb(174, 140, 253)
HSLhsl(258, 97%, 77%)
HSVhsv(258, 45%, 99%)
CMYKcmyk(31.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(65.63, 36.57, -51.89)
CIE-LCHlch(65.63, 63.49, 305.17°)
OKLaboklab(71.85% 0.0709 -0.1458)
OKLCHoklch(71.85% 0.162 295.9)
XYZxyz(44.5589, 34.8461, 97.2878)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CFD #DBFD8C
analogous
#8CA3FD #AE8CFD #E68CFD
triadic
#AE8CFD #FDAE8C #8CFDAE
tetradic
#AE8CFD #FD8CA3 #DBFD8C #8CFDE6
square
#AE8CFD #FD8CA3 #DBFD8C #8CFDE6
split-complementary
#AE8CFD #FDE68C #A3FD8C
monochromatic
#5914FB #8450FC #AE8CFD #D8C8FE #EAE1FE

Accessibility & contrast

On white

2.64
#AE8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AE8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CFD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CFD#FFFFFF#000000##000000
##AE8CFD1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#9DA1B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ae8cfd;
/* rgb */ color: rgb(174, 140, 253);
/* oklch */ color: oklch(71.8% 0.162 295.9);
Tailwind
colors: {
  custom: {
    50: '#c9aefe',
    500: '#ae8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cfd;
$custom-light: #c9aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cfd",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 258.053,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71846,
    "c": 0.16213,
    "h": 295.9
  },
  "luminance": 0.34847
}

Semantic roles & 50–950 ramp

primary
#AE8CFD
secondary
#ECF7D4
accent
#E600A0
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AE8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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