#AA54EC#AA54EC

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

Color values

HEX#AA54EC
RGBrgb(170, 84, 236)
HSLhsl(274, 80%, 63%)
HSVhsv(274, 64%, 93%)
CMYKcmyk(28%, 64.4%, 0%, 7.5%)
CIE-LABlab(52.89, 61.06, -62.85)
CIE-LCHlch(52.89, 87.63, 314.17°)
OKLaboklab(62.04% 0.1343 -0.1779)
OKLCHoklch(62.04% 0.223 307.1)
XYZxyz(34.8850, 20.9432, 81.5453)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54EC #96EC54
analogous
#5E54EC #AA54EC #EC54E2
triadic
#AA54EC #ECAA54 #54ECAA
tetradic
#AA54EC #EC5E54 #96EC54 #54E2EC
square
#AA54EC #EC5E54 #96EC54 #54E2EC
split-complementary
#AA54EC #E2EC54 #54EC5E
monochromatic
#6D14B2 #8F1DE6 #AA54EC #C58BF2 #E1C2F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA54EC#FFFFFF#000000##000000
##AA54EC1.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)
#007BF1
Deuteranopia (green-blind)
#337FE9
Tritanopia (blue-blind)
#9F7499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa54ec;
/* rgb */ color: rgb(170, 84, 236);
/* oklch */ color: oklch(62.0% 0.223 307.1);
Tailwind
colors: {
  custom: {
    50: '#c889f3',
    500: '#aa54ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa54ec;
$custom-light: #c889f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54ec",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 273.947,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62045,
    "c": 0.22292,
    "h": 307.1
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#AA54EC
secondary
#CAE9B2
accent
#DC0965
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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