#AE78F5#AE78F5

#AE78F5 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.1% C 0.183 H 301.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#AE78F5
RGBrgb(174, 120, 245)
HSLhsl(266, 86%, 72%)
HSVhsv(266, 51%, 96%)
CMYKcmyk(29%, 51%, 0%, 3.9%)
CIE-LABlab(60.80, 45.67, -55.16)
CIE-LCHlch(60.80, 71.61, 309.62°)
OKLaboklab(68.11% 0.0959 -0.1553)
OKLCHoklch(68.11% 0.183 301.7)
XYZxyz(40.6497, 29.0241, 89.8292)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78F5 #BFF578
analogous
#7881F5 #AE78F5 #ED78F5
triadic
#AE78F5 #F5AE78 #78F5AE
tetradic
#AE78F5 #F57881 #BFF578 #78F5ED
square
#AE78F5 #F57881 #BFF578 #78F5ED
split-complementary
#AE78F5 #F5ED78 #81F578
monochromatic
#6B11E2 #8C3FF1 #AE78F5 #D0B1F9 #EEE3FD

Accessibility & contrast

On white

3.09
#AE78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#AE78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78F5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78F5#FFFFFF#000000##000000
##AE78F51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#A08FAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ae78f5;
/* rgb */ color: rgb(174, 120, 245);
/* oklch */ color: oklch(68.1% 0.183 301.7);
Tailwind
colors: {
  custom: {
    50: '#c9a0f9',
    500: '#ae78f5',
    950: '#000000',
  },
}
SCSS
$custom: #ae78f5;
$custom-light: #c9a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78f5",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 265.92,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68105,
    "c": 0.18256,
    "h": 301.7
  },
  "luminance": 0.29024
}

Semantic roles & 50–950 ramp

primary
#AE78F5
secondary
#E7F4D4
accent
#E30382
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #AE78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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