#AE54E2#AE54E2

#AE54E2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.214 H 310.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AE54E2
RGBrgb(174, 84, 226)
HSLhsl(278, 71%, 61%)
HSVhsv(278, 63%, 89%)
CMYKcmyk(23%, 62.8%, 0%, 11.4%)
CIE-LABlab(52.76, 59.76, -57.40)
CIE-LCHlch(52.76, 82.86, 316.15°)
OKLaboklab(61.87% 0.1399 -0.1618)
OKLCHoklch(61.87% 0.214 310.9)
XYZxyz(34.3508, 20.8311, 74.1480)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54E2 #88E254
analogous
#6754E2 #AE54E2 #E254CF
triadic
#AE54E2 #E2AE54 #54E2AE
tetradic
#AE54E2 #E26754 #88E254 #54CFE2
square
#AE54E2 #E26754 #88E254 #54CFE2
split-complementary
#AE54E2 #CFE254 #54E267
monochromatic
#701BA0 #9424D5 #AE54E2 #C788EB #E0BDF4

Accessibility & contrast

On white

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

On black

5.17
#AE54E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54E2#FFFFFF#000000##000000
##AE54E21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#067AE6
Deuteranopia (green-blind)
#4480DF
Tritanopia (blue-blind)
#A77094
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ae54e2;
/* rgb */ color: rgb(174, 84, 226);
/* oklch */ color: oklch(61.9% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#ca89ec',
    500: '#ae54e2',
    950: '#000000',
  },
}
SCSS
$custom: #ae54e2;
$custom-light: #ca89ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54e2",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 278.028,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.21388,
    "h": 310.9
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#AE54E2
secondary
#C2E4AE
accent
#D31259
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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