#AE78EE#AE78EE

#AE78EE is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.174 H 303.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AE78EE
RGBrgb(174, 120, 238)
HSLhsl(267, 78%, 70%)
HSVhsv(267, 50%, 93%)
CMYKcmyk(26.9%, 49.6%, 0%, 6.7%)
CIE-LABlab(60.43, 44.00, -51.88)
CIE-LCHlch(60.43, 68.02, 310.30°)
OKLaboklab(67.71% 0.0953 -0.1457)
OKLCHoklch(67.71% 0.174 303.2)
XYZxyz(39.6012, 28.6047, 84.3073)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78EE #B8EE78
analogous
#787DEE #AE78EE #E978EE
triadic
#AE78EE #EEAE78 #78EEAE
tetradic
#AE78EE #EE787D #B8EE78 #78EEE9
square
#AE78EE #EE787D #B8EE78 #78EEE9
split-complementary
#AE78EE #EEE978 #7DEE78
monochromatic
#6E1AD1 #8D42E7 #AE78EE #CFAEF5 #EFE4FC

Accessibility & contrast

On white

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

On black

6.72
#AE78EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78EE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78EE#FFFFFF#000000##000000
##AE78EE1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#A38DA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ae78ee;
/* rgb */ color: rgb(174, 120, 238);
/* oklch */ color: oklch(67.7% 0.174 303.2);
Tailwind
colors: {
  custom: {
    50: '#c9a0f4',
    500: '#ae78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ae78ee;
$custom-light: #c9a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78ee",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 267.458,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67709,
    "c": 0.17415,
    "h": 303.2
  },
  "luminance": 0.28605
}

Semantic roles & 50–950 ramp

primary
#AE78EE
secondary
#E2F1D1
accent
#DA0C7B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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