#AA54DD#AA54DD

#AA54DD is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.1% C 0.207 H 310.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AA54DD
RGBrgb(170, 84, 221)
HSLhsl(278, 67%, 60%)
HSVhsv(278, 62%, 87%)
CMYKcmyk(23.1%, 62%, 0%, 13.3%)
CIE-LABlab(51.96, 57.77, -55.89)
CIE-LCHlch(51.96, 80.38, 315.95°)
OKLaboklab(61.08% 0.1351 -0.1575)
OKLCHoklch(61.08% 0.207 310.6)
XYZxyz(32.7966, 20.1079, 70.5461)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54DD #87DD54
analogous
#6554DD #AA54DD #DD54CC
triadic
#AA54DD #DDAA54 #54DDAA
tetradic
#AA54DD #DD6554 #87DD54 #54CCDD
square
#AA54DD #DD6554 #87DD54 #54CCDD
split-complementary
#AA54DD #CCDD54 #54DD65
monochromatic
#6B1E98 #8F28CB #AA54DD #C387E7 #DDBAF1

Accessibility & contrast

On white

4.18
#AA54DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#AA54DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54DD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54DD#FFFFFF#000000##000000
##AA54DD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1378E1
Deuteranopia (green-blind)
#457DDA
Tritanopia (blue-blind)
#A36F91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa54dd;
/* rgb */ color: rgb(170, 84, 221);
/* oklch */ color: oklch(61.1% 0.207 310.6);
Tailwind
colors: {
  custom: {
    50: '#c789e8',
    500: '#aa54dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa54dd;
$custom-light: #c789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54dd",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 277.664,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.20748,
    "h": 310.6
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#AA54DD
secondary
#C0E1AC
accent
#EA3E7E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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