#AE78FC#AE78FC

#AE78FC is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.191 H 300.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#AE78FC
RGBrgb(174, 120, 252)
HSLhsl(265, 96%, 73%)
HSVhsv(265, 52%, 99%)
CMYKcmyk(31%, 52.4%, 0%, 1.2%)
CIE-LABlab(61.19, 47.35, -58.41)
CIE-LCHlch(61.19, 75.19, 309.03°)
OKLaboklab(68.51% 0.0964 -0.1648)
OKLCHoklch(68.51% 0.191 300.3)
XYZxyz(41.7386, 29.4596, 95.5639)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE78FC #C6FC78
analogous
#7884FC #AE78FC #F078FC
triadic
#AE78FC #FCAE78 #78FCAE
tetradic
#AE78FC #FC7884 #C6FC78 #78FCF0
square
#AE78FC #FC7884 #C6FC78 #78FCF0
split-complementary
#AE78FC #FCF078 #84FC78
monochromatic
#6705F4 #8A3CFB #AE78FC #D2B4FD #EDE1FE

Accessibility & contrast

On white

3.05
#AE78FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#AE78FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE78FC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE78FC#FFFFFF#000000##000000
##AE78FC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#9E92AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ae78fc;
/* rgb */ color: rgb(174, 120, 252);
/* oklch */ color: oklch(68.5% 0.191 300.3);
Tailwind
colors: {
  custom: {
    50: '#caa0fe',
    500: '#ae78fc',
    950: '#000000',
  },
}
SCSS
$custom: #ae78fc;
$custom-light: #caa0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ae78fc",
  "rgb": {
    "r": 174,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 264.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.19095,
    "h": 300.3
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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