#AE77EC#AE77EC

#AE77EC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.173 H 303.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AE77EC
RGBrgb(174, 119, 236)
HSLhsl(268, 75%, 70%)
HSVhsv(268, 50%, 93%)
CMYKcmyk(26.3%, 49.6%, 0%, 7.5%)
CIE-LABlab(60.11, 44.07, -51.27)
CIE-LCHlch(60.11, 67.61, 310.68°)
OKLaboklab(67.44% 0.0965 -0.144)
OKLCHoklch(67.44% 0.173 303.8)
XYZxyz(39.1894, 28.2486, 82.7285)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE77EC #B5EC77
analogous
#777BEC #AE77EC #E877EC
triadic
#AE77EC #ECAE77 #77ECAE
tetradic
#AE77EC #EC777B #B5EC77 #77ECE8
square
#AE77EC #EC777B #B5EC77 #77ECE8
split-complementary
#AE77EC #ECE877 #7BEC77
monochromatic
#6F1DCC #8E41E4 #AE77EC #CEADF4 #EEE2FB

Accessibility & contrast

On white

3.16
#AE77EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AE77EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE77EC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE77EC#FFFFFF#000000##000000
##AE77EC1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#A38CA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ae77ec;
/* rgb */ color: rgb(174, 119, 236);
/* oklch */ color: oklch(67.4% 0.173 303.8);
Tailwind
colors: {
  custom: {
    50: '#c99ff3',
    500: '#ae77ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae77ec;
$custom-light: #c99ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae77ec",
  "rgb": {
    "r": 174,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 268.205,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67438,
    "c": 0.1733,
    "h": 303.8
  },
  "luminance": 0.28248
}

Semantic roles & 50–950 ramp

primary
#AE77EC
secondary
#E0F0CF
accent
#D80E79
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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