#AE81EF#AE81EF

#AE81EF is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.2% C 0.161 H 301.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#AE81EF
RGBrgb(174, 129, 239)
HSLhsl(265, 77%, 72%)
HSVhsv(265, 46%, 94%)
CMYKcmyk(27.2%, 46%, 0%, 6.3%)
CIE-LABlab(62.45, 39.29, -49.23)
CIE-LCHlch(62.45, 62.98, 308.59°)
OKLaboklab(69.23% 0.0835 -0.138)
OKLCHoklch(69.23% 0.161 301.2)
XYZxyz(40.8823, 30.9311, 85.4611)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE81EF #C2EF81
analogous
#818BEF #AE81EF #E581EF
triadic
#AE81EF #EFAE81 #81EFAE
tetradic
#AE81EF #EF818B #C2EF81 #81EFE5
square
#AE81EF #EF818B #C2EF81 #81EFE5
split-complementary
#AE81EF #EFE581 #8BEF81
monochromatic
#6A1CDA #8B4BE8 #AE81EF #D1B7F6 #EEE4FC

Accessibility & contrast

On white

2.92
#AE81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#AE81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE81EF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE81EF#FFFFFF#000000##000000
##AE81EF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#A295AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ae81ef;
/* rgb */ color: rgb(174, 129, 239);
/* oklch */ color: oklch(69.2% 0.161 301.2);
Tailwind
colors: {
  custom: {
    50: '#c8a6f5',
    500: '#ae81ef',
    950: '#000000',
  },
}
SCSS
$custom: #ae81ef;
$custom-light: #c8a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae81ef",
  "rgb": {
    "r": 174,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 264.545,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69232,
    "c": 0.16135,
    "h": 301.2
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#AE81EF
secondary
#E8F3D8
accent
#DA0C85
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #AE81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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