#AE8CF5#AE8CF5

#AE8CF5 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.4% C 0.152 H 297.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AE8CF5
RGBrgb(174, 140, 245)
HSLhsl(259, 84%, 75%)
HSVhsv(259, 43%, 96%)
CMYKcmyk(29%, 42.9%, 0%, 3.9%)
CIE-LABlab(65.24, 34.60, -48.13)
CIE-LCHlch(65.24, 59.28, 305.71°)
OKLaboklab(71.42% 0.0697 -0.1348)
OKLCHoklch(71.42% 0.152 297.3)
XYZxyz(43.3111, 34.3470, 90.7163)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CF5 #D3F58C
analogous
#8C9EF5 #AE8CF5 #E38CF5
triadic
#AE8CF5 #F5AE8C #8CF5AE
tetradic
#AE8CF5 #F58C9E #D3F58C #8CF5E3
square
#AE8CF5 #F58C9E #D3F58C #8CF5E3
split-complementary
#AE8CF5 #F5E38C #9EF58C
monochromatic
#5F1BEB #8654F0 #AE8CF5 #D6C4FA #EBE3FD

Accessibility & contrast

On white

2.67
#AE8CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AE8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CF5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CF5#FFFFFF#000000##000000
##AE8CF51.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#739DF2
Tritanopia (blue-blind)
#9F9FB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ae8cf5;
/* rgb */ color: rgb(174, 140, 245);
/* oklch */ color: oklch(71.4% 0.152 297.3);
Tailwind
colors: {
  custom: {
    50: '#c8aef9',
    500: '#ae8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cf5;
$custom-light: #c8aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cf5",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 259.429,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71423,
    "c": 0.15181,
    "h": 297.3
  },
  "luminance": 0.34347
}

Semantic roles & 50–950 ramp

primary
#AE8CF5
secondary
#EBF4D7
accent
#E00599
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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