#AE54E1#AE54E1

#AE54E1 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.213 H 311.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AE54E1
RGBrgb(174, 84, 225)
HSLhsl(278, 70%, 61%)
HSVhsv(278, 63%, 88%)
CMYKcmyk(22.7%, 62.7%, 0%, 11.8%)
CIE-LABlab(52.70, 59.54, -56.93)
CIE-LCHlch(52.70, 82.38, 316.28°)
OKLaboklab(61.8% 0.14 -0.1604)
OKLCHoklch(61.8% 0.213 311.1)
XYZxyz(34.2140, 20.7763, 73.4275)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54E1 #87E154
analogous
#6754E1 #AE54E1 #E154CD
triadic
#AE54E1 #E1AE54 #54E1AE
tetradic
#AE54E1 #E16754 #87E154 #54CDE1
square
#AE54E1 #E16754 #87E154 #54CDE1
split-complementary
#AE54E1 #CDE154 #54E167
monochromatic
#6F1C9F #9425D3 #AE54E1 #C788EA #DFBCF3

Accessibility & contrast

On white

4.07
#AE54E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AE54E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54E1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54E1#FFFFFF#000000##000000
##AE54E11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C79E5
Deuteranopia (green-blind)
#457FDE
Tritanopia (blue-blind)
#A86F93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae54e1;
/* rgb */ color: rgb(174, 84, 225);
/* oklch */ color: oklch(61.8% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#ca89eb',
    500: '#ae54e1',
    950: '#000000',
  },
}
SCSS
$custom: #ae54e1;
$custom-light: #ca89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54e1",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 278.298,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.21287,
    "h": 311.1
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#AE54E1
secondary
#C1E3AE
accent
#D21358
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE54E1

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

Preview Lab → · Contrast checker → · Palette generator →

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