#AE78FE#AE78FE

#AE78FE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.193 H 299.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#AE78FE
RGBrgb(174, 120, 254)
HSLhsl(264, 99%, 73%)
HSVhsv(264, 53%, 100%)
CMYKcmyk(31.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(61.30, 47.84, -59.33)
CIE-LCHlch(61.30, 76.22, 308.88°)
OKLaboklab(68.63% 0.0965 -0.1675)
OKLCHoklch(68.63% 0.193 299.9)
XYZxyz(42.0572, 29.5871, 97.2419)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78FE #C8FE78
analogous
#7885FE #AE78FE #F178FE
triadic
#AE78FE #FEAE78 #78FEAE
tetradic
#AE78FE #FE7885 #C8FE78 #78FEF1
square
#AE78FE #FE7885 #C8FE78 #78FEF1
split-complementary
#AE78FE #FEF178 #85FE78
monochromatic
#6602FA #8A3BFE #AE78FE #D2B5FE #EDE1FF

Accessibility & contrast

On white

3.04
#AE78FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#AE78FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78FE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78FE#FFFFFF#000000##000000
##AE78FE1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#5593FB
Tritanopia (blue-blind)
#9E92B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae78fe;
/* rgb */ color: rgb(174, 120, 254);
/* oklch */ color: oklch(68.6% 0.193 299.9);
Tailwind
colors: {
  custom: {
    50: '#caa0ff',
    500: '#ae78fe',
    950: '#000000',
  },
}
SCSS
$custom: #ae78fe;
$custom-light: #caa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78fe",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 264.179,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6863,
    "c": 0.19334,
    "h": 299.9
  },
  "luminance": 0.29587
}

Semantic roles & 50–950 ramp

primary
#AE78FE
secondary
#E9F7D4
accent
#E60089
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #AE78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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