#AE78DC#AE78DC

#AE78DC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.7% C 0.152 H 307.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AE78DC
RGBrgb(174, 120, 220)
HSLhsl(272, 59%, 67%)
HSVhsv(272, 45%, 86%)
CMYKcmyk(20.9%, 45.5%, 0%, 13.7%)
CIE-LABlab(59.52, 39.83, -43.27)
CIE-LCHlch(59.52, 58.81, 312.63°)
OKLaboklab(66.74% 0.0932 -0.1207)
OKLCHoklch(66.74% 0.152 307.7)
XYZxyz(37.0878, 27.5993, 71.0697)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78DC #A6DC78
analogous
#7C78DC #AE78DC #DC78D8
triadic
#AE78DC #DCAE78 #78DCAE
tetradic
#AE78DC #DC7C78 #A6DC78 #78D8DC
square
#AE78DC #DC7C78 #A6DC78 #78D8DC
split-complementary
#AE78DC #D8DC78 #78DC7C
monochromatic
#722DAD #9147CF #AE78DC #CBA9E9 #E8D9F5

Accessibility & contrast

On white

3.22
#AE78DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#AE78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78DC#FFFFFF#000000##000000
##AE78DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#A888A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ae78dc;
/* rgb */ color: rgb(174, 120, 220);
/* oklch */ color: oklch(66.7% 0.152 307.7);
Tailwind
colors: {
  custom: {
    50: '#c8a0e7',
    500: '#ae78dc',
    950: '#000000',
  },
}
SCSS
$custom: #ae78dc;
$custom-light: #c8a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78dc",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 272.4,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66738,
    "c": 0.15248,
    "h": 307.7
  },
  "luminance": 0.27599
}

Semantic roles & 50–950 ramp

primary
#AE78DC
secondary
#D7E8C8
accent
#C61F6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #AE78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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