#AE8CF7#AE8CF7

#AE8CF7 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.154 H 297.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#AE8CF7
RGBrgb(174, 140, 247)
HSLhsl(259, 87%, 76%)
HSVhsv(259, 43%, 97%)
CMYKcmyk(29.6%, 43.3%, 0%, 3.1%)
CIE-LABlab(65.33, 35.09, -49.07)
CIE-LCHlch(65.33, 60.33, 305.57°)
OKLaboklab(71.53% 0.07 -0.1376)
OKLCHoklch(71.53% 0.154 297)
XYZxyz(43.6181, 34.4697, 92.3330)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CF7 #D5F78C
analogous
#8C9FF7 #AE8CF7 #E38CF7
triadic
#AE8CF7 #F7AE8C #8CF7AE
tetradic
#AE8CF7 #F78C9F #D5F78C #8CF7E3
square
#AE8CF7 #F78C9F #D5F78C #8CF7E3
split-complementary
#AE8CF7 #F7E38C #9FF78C
monochromatic
#5D1AEF #8653F3 #AE8CF7 #D6C5FB #EBE2FD

Accessibility & contrast

On white

2.66
#AE8CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#AE8CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CF7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CF7#FFFFFF#000000##000000
##AE8CF71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#9F9FB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ae8cf7;
/* rgb */ color: rgb(174, 140, 247);
/* oklch */ color: oklch(71.5% 0.154 297.0);
Tailwind
colors: {
  custom: {
    50: '#c8aefa',
    500: '#ae8cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cf7;
$custom-light: #c8aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cf7",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 259.065,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71528,
    "c": 0.1544,
    "h": 297
  },
  "luminance": 0.3447
}

Semantic roles & 50–950 ramp

primary
#AE8CF7
secondary
#EBF5D6
accent
#E4029C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AE8CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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