#AE81F7#AE81F7

#AE81F7 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.171 H 299.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AE81F7
RGBrgb(174, 129, 247)
HSLhsl(263, 88%, 74%)
HSVhsv(263, 48%, 97%)
CMYKcmyk(29.6%, 47.8%, 0%, 3.1%)
CIE-LABlab(62.86, 41.22, -53.00)
CIE-LCHlch(62.86, 67.14, 307.87°)
OKLaboklab(69.67% 0.0845 -0.149)
OKLCHoklch(69.67% 0.171 299.5)
XYZxyz(42.0904, 31.4143, 91.8237)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE81F7 #CAF781
analogous
#818FF7 #AE81F7 #E981F7
triadic
#AE81F7 #F7AE81 #81F7AE
tetradic
#AE81F7 #F7818F #CAF781 #81F7E9
square
#AE81F7 #F7818F #CAF781 #81F7E9
split-complementary
#AE81F7 #F7E981 #8FF781
monochromatic
#640FEE #8947F3 #AE81F7 #D3BBFB #EDE2FD

Accessibility & contrast

On white

2.88
#AE81F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#AE81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE81F7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE81F7#FFFFFF#000000##000000
##AE81F71.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#9F97B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae81f7;
/* rgb */ color: rgb(174, 129, 247);
/* oklch */ color: oklch(69.7% 0.171 299.5);
Tailwind
colors: {
  custom: {
    50: '#c9a6fa',
    500: '#ae81f7',
    950: '#000000',
  },
}
SCSS
$custom: #ae81f7;
$custom-light: #c9a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae81f7",
  "rgb": {
    "r": 174,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 262.881,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69668,
    "c": 0.17131,
    "h": 299.5
  },
  "luminance": 0.31415
}

Semantic roles & 50–950 ramp

primary
#AE81F7
secondary
#E9F5D6
accent
#E5018E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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