#AE8CF8#AE8CF8

#AE8CF8 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.156 H 296.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AE8CF8
RGBrgb(174, 140, 248)
HSLhsl(259, 89%, 76%)
HSVhsv(259, 44%, 97%)
CMYKcmyk(29.8%, 43.5%, 0%, 2.7%)
CIE-LABlab(65.38, 35.34, -49.55)
CIE-LCHlch(65.38, 60.86, 305.50°)
OKLaboklab(71.58% 0.0702 -0.139)
OKLCHoklch(71.58% 0.156 296.8)
XYZxyz(43.7728, 34.5316, 93.1478)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE8CF8 #D6F88C
analogous
#8CA0F8 #AE8CF8 #E48CF8
triadic
#AE8CF8 #F8AE8C #8CF8AE
tetradic
#AE8CF8 #F88CA0 #D6F88C #8CF8E4
square
#AE8CF8 #F88CA0 #D6F88C #8CF8E4
split-complementary
#AE8CF8 #F8E48C #A0F88C
monochromatic
#5D19F1 #8552F4 #AE8CF8 #D7C6FC #EBE2FD

Accessibility & contrast

On white

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

On black

7.91
#AE8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE8CF8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE8CF8#FFFFFF#000000##000000
##AE8CF81.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#9EA0B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ae8cf8;
/* rgb */ color: rgb(174, 140, 248);
/* oklch */ color: oklch(71.6% 0.156 296.8);
Tailwind
colors: {
  custom: {
    50: '#c9aefb',
    500: '#ae8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ae8cf8;
$custom-light: #c9aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae8cf8",
  "rgb": {
    "r": 174,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 258.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7158,
    "c": 0.15569,
    "h": 296.8
  },
  "luminance": 0.34532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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