#AA54DC#AA54DC

#AA54DC is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.206 H 310.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AA54DC
RGBrgb(170, 84, 220)
HSLhsl(278, 66%, 60%)
HSVhsv(278, 62%, 86%)
CMYKcmyk(22.7%, 61.8%, 0%, 13.7%)
CIE-LABlab(51.90, 57.56, -55.42)
CIE-LCHlch(51.90, 79.90, 316.08°)
OKLaboklab(61.02% 0.1351 -0.1561)
OKLCHoklch(61.02% 0.206 310.9)
XYZxyz(32.6637, 20.0547, 69.8465)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA54DC #86DC54
analogous
#6654DC #AA54DC #DC54CA
triadic
#AA54DC #DCAA54 #54DCAA
tetradic
#AA54DC #DC6654 #86DC54 #54CADC
square
#AA54DC #DC6654 #86DC54 #54CADC
split-complementary
#AA54DC #CADC54 #54DC66
monochromatic
#6B1F97 #8F29CA #AA54DC #C387E6 #DDBAF1

Accessibility & contrast

On white

4.19
#AA54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#AA54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA54DC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA54DC#FFFFFF#000000##000000
##AA54DC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#A46E90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa54dc;
/* rgb */ color: rgb(170, 84, 220);
/* oklch */ color: oklch(61.0% 0.206 310.9);
Tailwind
colors: {
  custom: {
    50: '#c789e7',
    500: '#aa54dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa54dc;
$custom-light: #c789e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa54dc",
  "rgb": {
    "r": 170,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 277.941,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.20644,
    "h": 310.9
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#AA54DC
secondary
#BFE0AC
accent
#E93F7D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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