#AE78EF#AE78EF

#AE78EF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.175 H 303.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#AE78EF
RGBrgb(174, 120, 239)
HSLhsl(267, 79%, 70%)
HSVhsv(267, 50%, 94%)
CMYKcmyk(27.2%, 49.8%, 0%, 6.3%)
CIE-LABlab(60.48, 44.24, -52.35)
CIE-LCHlch(60.48, 68.54, 310.20°)
OKLaboklab(67.77% 0.0954 -0.1471)
OKLCHoklch(67.77% 0.175 303)
XYZxyz(39.7486, 28.6636, 85.0832)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78EF #B9EF78
analogous
#787DEF #AE78EF #EA78EF
triadic
#AE78EF #EFAE78 #78EFAE
tetradic
#AE78EF #EF787D #B9EF78 #78EFEA
square
#AE78EF #EF787D #B9EF78 #78EFEA
split-complementary
#AE78EF #EFEA78 #7DEF78
monochromatic
#6E19D4 #8D41E9 #AE78EF #CFAFF5 #EFE4FC

Accessibility & contrast

On white

3.12
#AE78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#AE78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78EF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78EF#FFFFFF#000000##000000
##AE78EF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6192EC
Tritanopia (blue-blind)
#A28EA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae78ef;
/* rgb */ color: rgb(174, 120, 239);
/* oklch */ color: oklch(67.8% 0.175 303.0);
Tailwind
colors: {
  custom: {
    50: '#c9a0f5',
    500: '#ae78ef',
    950: '#000000',
  },
}
SCSS
$custom: #ae78ef;
$custom-light: #c9a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78ef",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 267.227,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67765,
    "c": 0.17535,
    "h": 303
  },
  "luminance": 0.28664
}

Semantic roles & 50–950 ramp

primary
#AE78EF
secondary
#E3F2D1
accent
#DB0A7C
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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