#AE54E4#AE54E4

#AE54E4 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 62.0% C 0.216 H 310.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AE54E4
RGBrgb(174, 84, 228)
HSLhsl(278, 73%, 61%)
HSVhsv(278, 63%, 89%)
CMYKcmyk(23.7%, 63.2%, 0%, 10.6%)
CIE-LABlab(52.89, 60.18, -58.33)
CIE-LCHlch(52.89, 83.81, 315.89°)
OKLaboklab(61.99% 0.1398 -0.1645)
OKLCHoklch(61.99% 0.216 310.4)
XYZxyz(34.6268, 20.9415, 75.6017)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54E4 #8AE454
analogous
#6654E4 #AE54E4 #E454D2
triadic
#AE54E4 #E4AE54 #54E4AE
tetradic
#AE54E4 #E46654 #8AE454 #54D2E4
square
#AE54E4 #E46654 #8AE454 #54D2E4
split-complementary
#AE54E4 #D2E454 #54E466
monochromatic
#701AA4 #9422D9 #AE54E4 #C789EC #E0BEF5

Accessibility & contrast

On white

4.05
#AE54E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#AE54E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54E4#FFFFFF#000000##000000
##AE54E41.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#A77195
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae54e4;
/* rgb */ color: rgb(174, 84, 228);
/* oklch */ color: oklch(62.0% 0.216 310.4);
Tailwind
colors: {
  custom: {
    50: '#ca89ed',
    500: '#ae54e4',
    950: '#000000',
  },
}
SCSS
$custom: #ae54e4;
$custom-light: #ca89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54e4",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 277.5,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.21591,
    "h": 310.4
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#AE54E4
secondary
#C3E5AF
accent
#D5115A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE54E4

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

Preview Lab → · Contrast checker → · Palette generator →

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