#AE78EB#AE78EB

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

Color values

HEX#AE78EB
RGBrgb(174, 120, 235)
HSLhsl(268, 74%, 70%)
HSVhsv(268, 49%, 92%)
CMYKcmyk(26%, 48.9%, 0%, 7.8%)
CIE-LABlab(60.28, 43.29, -50.46)
CIE-LCHlch(60.28, 66.49, 310.63°)
OKLaboklab(67.54% 0.095 -0.1416)
OKLCHoklch(67.54% 0.171 303.9)
XYZxyz(39.1642, 28.4299, 82.0054)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78EB #B5EB78
analogous
#787CEB #AE78EB #E878EB
triadic
#AE78EB #EBAE78 #78EBAE
tetradic
#AE78EB #EB787C #B5EB78 #78EBE8
square
#AE78EB #EB787C #B5EB78 #78EBE8
split-complementary
#AE78EB #EBE878 #7CEB78
monochromatic
#6F1ECB #8E43E3 #AE78EB #CEADF3 #EEE3FB

Accessibility & contrast

On white

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

On black

6.69
#AE78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78EB#FFFFFF#000000##000000
##AE78EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#A38CA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ae78eb;
/* rgb */ color: rgb(174, 120, 235);
/* oklch */ color: oklch(67.5% 0.171 303.9);
Tailwind
colors: {
  custom: {
    50: '#c9a0f2',
    500: '#ae78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ae78eb;
$custom-light: #c9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78eb",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 268.174,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67542,
    "c": 0.17054,
    "h": 303.9
  },
  "luminance": 0.2843
}

Semantic roles & 50–950 ramp

primary
#AE78EB
secondary
#E0F0CF
accent
#D60F79
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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