#AE81F6#AE81F6

#AE81F6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.170 H 299.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#AE81F6
RGBrgb(174, 129, 246)
HSLhsl(263, 87%, 74%)
HSVhsv(263, 48%, 96%)
CMYKcmyk(29.3%, 47.6%, 0%, 3.5%)
CIE-LABlab(62.80, 40.97, -52.53)
CIE-LCHlch(62.80, 66.62, 307.95°)
OKLaboklab(69.61% 0.0844 -0.1477)
OKLCHoklch(69.61% 0.17 299.7)
XYZxyz(41.9365, 31.3527, 91.0132)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE81F6 #C9F681
analogous
#818EF6 #AE81F6 #E881F6
triadic
#AE81F6 #F6AE81 #81F6AE
tetradic
#AE81F6 #F6818E #C9F681 #81F6E8
square
#AE81F6 #F6818E #C9F681 #81F6E8
split-complementary
#AE81F6 #F6E881 #8EF681
monochromatic
#6511EC #8948F2 #AE81F6 #D3BAFA #EDE2FD

Accessibility & contrast

On white

2.89
#AE81F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#AE81F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AE81F6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE81F6#FFFFFF#000000##000000
##AE81F61.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#A096B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ae81f6;
/* rgb */ color: rgb(174, 129, 246);
/* oklch */ color: oklch(69.6% 0.170 299.7);
Tailwind
colors: {
  custom: {
    50: '#c9a6fa',
    500: '#ae81f6',
    950: '#000000',
  },
}
SCSS
$custom: #ae81f6;
$custom-light: #c9a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae81f6",
  "rgb": {
    "r": 174,
    "g": 129,
    "b": 246
  },
  "hsl": {
    "h": 263.077,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.17006,
    "h": 299.7
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE81F6

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

Preview Lab → · Contrast checker → · Palette generator →

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