#AE78DF#AE78DF

#AE78DF is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.9% C 0.156 H 306.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AE78DF
RGBrgb(174, 120, 223)
HSLhsl(271, 62%, 67%)
HSVhsv(271, 46%, 87%)
CMYKcmyk(22%, 46.2%, 0%, 12.5%)
CIE-LABlab(59.67, 40.51, -44.72)
CIE-LCHlch(59.67, 60.35, 312.17°)
OKLaboklab(66.89% 0.0936 -0.1249)
OKLCHoklch(66.89% 0.156 306.9)
XYZxyz(37.4886, 27.7597, 73.1809)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78DF #A9DF78
analogous
#7A78DF #AE78DF #DF78DD
triadic
#AE78DF #DFAE78 #78DFAE
tetradic
#AE78DF #DF7A78 #A9DF78 #78DDDF
square
#AE78DF #DF7A78 #A9DF78 #78DDDF
split-complementary
#AE78DF #DDDF78 #78DF7A
monochromatic
#722AB2 #9047D3 #AE78DF #CCA9EB #E9DBF6

Accessibility & contrast

On white

3.21
#AE78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#AE78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78DF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78DF#FFFFFF#000000##000000
##AE78DF1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#6C90DC
Tritanopia (blue-blind)
#A789A1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ae78df;
/* rgb */ color: rgb(174, 120, 223);
/* oklch */ color: oklch(66.9% 0.156 306.9);
Tailwind
colors: {
  custom: {
    50: '#c8a0e9',
    500: '#ae78df',
    950: '#000000',
  },
}
SCSS
$custom: #ae78df;
$custom-light: #c8a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78df",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 271.456,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.15609,
    "h": 306.9
  },
  "luminance": 0.27759
}

Semantic roles & 50–950 ramp

primary
#AE78DF
secondary
#D9EAC9
accent
#C91C6F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AE78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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