#AE78EA#AE78EA

#AE78EA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.169 H 304.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AE78EA
RGBrgb(174, 120, 234)
HSLhsl(268, 73%, 69%)
HSVhsv(268, 49%, 92%)
CMYKcmyk(25.6%, 48.7%, 0%, 8.2%)
CIE-LABlab(60.22, 43.06, -49.98)
CIE-LCHlch(60.22, 65.97, 310.74°)
OKLaboklab(67.49% 0.0949 -0.1402)
OKLCHoklch(67.49% 0.169 304.1)
XYZxyz(39.0201, 28.3723, 81.2467)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78EA #B4EA78
analogous
#787BEA #AE78EA #E778EA
triadic
#AE78EA #EAAE78 #78EAAE
tetradic
#AE78EA #EA787B #B4EA78 #78EAE7
square
#AE78EA #EA787B #B4EA78 #78EAE7
split-complementary
#AE78EA #EAE778 #7BEA78
monochromatic
#6F1FC8 #8E43E2 #AE78EA #CEADF2 #EEE2FA

Accessibility & contrast

On white

3.15
#AE78EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AE78EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78EA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78EA#FFFFFF#000000##000000
##AE78EA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#A48CA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ae78ea;
/* rgb */ color: rgb(174, 120, 234);
/* oklch */ color: oklch(67.5% 0.169 304.1);
Tailwind
colors: {
  custom: {
    50: '#c9a0f1',
    500: '#ae78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ae78ea;
$custom-light: #c9a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78ea",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 268.421,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.16933,
    "h": 304.1
  },
  "luminance": 0.28372
}

Semantic roles & 50–950 ramp

primary
#AE78EA
secondary
#E0EFCE
accent
#D51078
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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