#AA54EF#AA54EF

#AA54EF is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.226 H 306.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA54EF
RGBrgb(170, 84, 239)
HSLhsl(273, 83%, 63%)
HSVhsv(273, 65%, 94%)
CMYKcmyk(28.9%, 64.9%, 0%, 6.3%)
CIE-LABlab(53.08, 61.73, -64.23)
CIE-LCHlch(53.08, 89.08, 313.87°)
OKLaboklab(62.25% 0.1341 -0.1819)
OKLCHoklch(62.25% 0.226 306.4)
XYZxyz(35.3245, 21.1190, 83.8601)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54EF #99EF54
analogous
#5C54EF #AA54EF #EF54E7
triadic
#AA54EF #EFAA54 #54EFAA
tetradic
#AA54EF #EF5C54 #99EF54 #54E7EF
square
#AA54EF #EF5C54 #99EF54 #54E7EF
split-complementary
#AA54EF #E7EF54 #54EF5C
monochromatic
#6D11B7 #8E1CEA #AA54EF #C68CF4 #E2C4F9

Accessibility & contrast

On white

4.02
#AA54EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA54EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54EF#FFFFFF#000000##000000
##AA54EF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#2E7FEC
Tritanopia (blue-blind)
#9E759B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa54ef;
/* rgb */ color: rgb(170, 84, 239);
/* oklch */ color: oklch(62.2% 0.226 306.4);
Tailwind
colors: {
  custom: {
    50: '#c889f5',
    500: '#aa54ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa54ef;
$custom-light: #c889f5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54ef",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 273.29,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.226,
    "h": 306.4
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#AA54EF
secondary
#CCEBB4
accent
#DF0667
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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