#AE81FC#AE81FC

#AE81FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.9% C 0.178 H 298.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AE81FC
RGBrgb(174, 129, 252)
HSLhsl(262, 95%, 75%)
HSVhsv(262, 49%, 99%)
CMYKcmyk(31%, 48.8%, 0%, 1.2%)
CIE-LABlab(63.12, 42.44, -55.33)
CIE-LCHlch(63.12, 69.73, 307.49°)
OKLaboklab(69.95% 0.085 -0.1558)
OKLCHoklch(69.95% 0.178 298.6)
XYZxyz(42.8723, 31.7271, 95.9418)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE81FC #CFFC81
analogous
#8192FC #AE81FC #EB81FC
triadic
#AE81FC #FCAE81 #81FCAE
tetradic
#AE81FC #FC8192 #CFFC81 #81FCEB
square
#AE81FC #FC8192 #CFFC81 #81FCEB
split-complementary
#AE81FC #FCEB81 #92FC81
monochromatic
#6109F9 #8845FB #AE81FC #D4BDFD #ECE1FE

Accessibility & contrast

On white

2.86
#AE81FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AE81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE81FC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE81FC#FFFFFF#000000##000000
##AE81FC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#9E98B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ae81fc;
/* rgb */ color: rgb(174, 129, 252);
/* oklch */ color: oklch(69.9% 0.178 298.6);
Tailwind
colors: {
  custom: {
    50: '#c9a6fe',
    500: '#ae81fc',
    950: '#000000',
  },
}
SCSS
$custom: #ae81fc;
$custom-light: #c9a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae81fc",
  "rgb": {
    "r": 174,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 261.951,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.17751,
    "h": 298.6
  },
  "luminance": 0.31727
}

Semantic roles & 50–950 ramp

primary
#AE81FC
secondary
#EAF7D4
accent
#E60092
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AE81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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