#AE54DE#AE54DE

#AE54DE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.210 H 311.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AE54DE
RGBrgb(174, 84, 222)
HSLhsl(279, 68%, 60%)
HSVhsv(279, 62%, 87%)
CMYKcmyk(21.6%, 62.2%, 0%, 12.9%)
CIE-LABlab(52.52, 58.90, -55.52)
CIE-LCHlch(52.52, 80.95, 316.69°)
OKLaboklab(61.61% 0.14 -0.1563)
OKLCHoklch(61.61% 0.21 311.9)
XYZxyz(33.8083, 20.6141, 71.2910)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE54DE #84DE54
analogous
#6954DE #AE54DE #DE54C9
triadic
#AE54DE #DEAE54 #54DEAE
tetradic
#AE54DE #DE6954 #84DE54 #54C9DE
square
#AE54DE #DE6954 #84DE54 #54C9DE
split-complementary
#AE54DE #C9DE54 #54DE69
monochromatic
#6F1E9A #9428CD #AE54DE #C687E8 #DFBBF2

Accessibility & contrast

On white

4.10
#AE54DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AE54DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AE54DE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE54DE#FFFFFF#000000##000000
##AE54DE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#A86E91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ae54de;
/* rgb */ color: rgb(174, 84, 222);
/* oklch */ color: oklch(61.6% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#ca89e9',
    500: '#ae54de',
    950: '#000000',
  },
}
SCSS
$custom: #ae54de;
$custom-light: #ca89e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae54de",
  "rgb": {
    "r": 174,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 279.13,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.20984,
    "h": 311.9
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#AE54DE
secondary
#BFE1AC
accent
#EB3D7A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AE54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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