#AE78F6#AE78F6

#AE78F6 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.184 H 301.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AE78F6
RGBrgb(174, 120, 246)
HSLhsl(266, 88%, 72%)
HSVhsv(266, 51%, 96%)
CMYKcmyk(29.3%, 51.2%, 0%, 3.5%)
CIE-LABlab(60.86, 45.91, -55.63)
CIE-LCHlch(60.86, 72.12, 309.53°)
OKLaboklab(68.16% 0.096 -0.1567)
OKLCHoklch(68.16% 0.184 301.5)
XYZxyz(40.8028, 29.0853, 90.6353)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78F6 #C0F678
analogous
#7881F6 #AE78F6 #ED78F6
triadic
#AE78F6 #F6AE78 #78F6AE
tetradic
#AE78F6 #F67881 #C0F678 #78F6ED
square
#AE78F6 #F67881 #C0F678 #78F6ED
split-complementary
#AE78F6 #F6ED78 #81F678
monochromatic
#6B0FE4 #8C3FF2 #AE78F6 #D0B1FA #EEE2FD

Accessibility & contrast

On white

3.08
#AE78F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#AE78F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78F6
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78F6#FFFFFF#000000##000000
##AE78F61.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92FA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#A090AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ae78f6;
/* rgb */ color: rgb(174, 120, 246);
/* oklch */ color: oklch(68.2% 0.184 301.5);
Tailwind
colors: {
  custom: {
    50: '#c9a0fa',
    500: '#ae78f6',
    950: '#000000',
  },
}
SCSS
$custom: #ae78f6;
$custom-light: #c9a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78f6",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 265.714,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68163,
    "c": 0.18376,
    "h": 301.5
  },
  "luminance": 0.29085
}

Semantic roles & 50–950 ramp

primary
#AE78F6
secondary
#E7F5D5
accent
#E40183
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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