#AA54EE#AA54EE

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

Color values

HEX#AA54EE
RGBrgb(170, 84, 238)
HSLhsl(274, 82%, 63%)
HSVhsv(274, 65%, 93%)
CMYKcmyk(28.6%, 64.7%, 0%, 6.7%)
CIE-LABlab(53.02, 61.51, -63.77)
CIE-LCHlch(53.02, 88.60, 313.97°)
OKLaboklab(62.18% 0.1342 -0.1806)
OKLCHoklch(62.18% 0.225 306.6)
XYZxyz(35.1772, 21.0601, 83.0842)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54EE #98EE54
analogous
#5D54EE #AA54EE #EE54E5
triadic
#AA54EE #EEAA54 #54EEAA
tetradic
#AA54EE #EE5D54 #98EE54 #54E5EE
square
#AA54EE #EE5D54 #98EE54 #54E5EE
split-complementary
#AA54EE #E5EE54 #54EE5D
monochromatic
#6D12B6 #8E1CE8 #AA54EE #C68CF4 #E1C3F9

Accessibility & contrast

On white

4.03
#AA54EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AA54EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54EE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54EE#FFFFFF#000000##000000
##AA54EE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#307FEB
Tritanopia (blue-blind)
#9F759A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa54ee;
/* rgb */ color: rgb(170, 84, 238);
/* oklch */ color: oklch(62.2% 0.225 306.6);
Tailwind
colors: {
  custom: {
    50: '#c889f4',
    500: '#aa54ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa54ee;
$custom-light: #c889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54ee",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 238
  },
  "hsl": {
    "h": 273.506,
    "s": 81.915,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62178,
    "c": 0.22497,
    "h": 306.6
  },
  "luminance": 0.2106
}

Semantic roles & 50–950 ramp

primary
#AA54EE
secondary
#CCEAB3
accent
#DE0766
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA54EE

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

Preview Lab → · Contrast checker → · Palette generator →

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