#AE78EC#AE78EC

#AE78EC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.172 H 303.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#AE78EC
RGBrgb(174, 120, 236)
HSLhsl(268, 75%, 70%)
HSVhsv(268, 49%, 93%)
CMYKcmyk(26.3%, 49.2%, 0%, 7.5%)
CIE-LABlab(60.33, 43.53, -50.93)
CIE-LCHlch(60.33, 67.00, 310.52°)
OKLaboklab(67.6% 0.0951 -0.143)
OKLCHoklch(67.6% 0.172 303.6)
XYZxyz(39.3090, 28.4878, 82.7684)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78EC #B6EC78
analogous
#787CEC #AE78EC #E878EC
triadic
#AE78EC #ECAE78 #78ECAE
tetradic
#AE78EC #EC787C #B6EC78 #78ECE8
square
#AE78EC #EC787C #B6EC78 #78ECE8
split-complementary
#AE78EC #ECE878 #7CEC78
monochromatic
#6F1DCD #8E42E4 #AE78EC #CEAEF4 #EEE3FB

Accessibility & contrast

On white

3.14
#AE78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#AE78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78EC#FFFFFF#000000##000000
##AE78EC1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#A38DA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ae78ec;
/* rgb */ color: rgb(174, 120, 236);
/* oklch */ color: oklch(67.6% 0.172 303.6);
Tailwind
colors: {
  custom: {
    50: '#c9a0f3',
    500: '#ae78ec',
    950: '#000000',
  },
}
SCSS
$custom: #ae78ec;
$custom-light: #c9a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78ec",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 267.931,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67597,
    "c": 0.17174,
    "h": 303.6
  },
  "luminance": 0.28488
}

Semantic roles & 50–950 ramp

primary
#AE78EC
secondary
#E1F0D0
accent
#D70E7A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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