#AA56DC#AA56DC

#AA56DC is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.204 H 310.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA56DC
RGBrgb(170, 86, 220)
HSLhsl(278, 66%, 60%)
HSVhsv(278, 61%, 86%)
CMYKcmyk(22.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(52.25, 56.59, -54.85)
CIE-LCHlch(52.25, 78.82, 315.89°)
OKLaboklab(61.27% 0.1327 -0.1544)
OKLCHoklch(61.27% 0.204 310.7)
XYZxyz(32.8212, 20.3696, 69.8990)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56DC #88DC56
analogous
#6756DC #AA56DC #DC56CB
triadic
#AA56DC #DCAA56 #56DCAA
tetradic
#AA56DC #DC6756 #88DC56 #56CBDC
square
#AA56DC #DC6756 #88DC56 #56CBDC
split-complementary
#AA56DC #CBDC56 #56DC67
monochromatic
#6B2098 #8F2ACB #AA56DC #C489E6 #DDBBF1

Accessibility & contrast

On white

4.14
#AA56DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#AA56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56DC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56DC#FFFFFF#000000##000000
##AA56DC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#A47091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56dc;
/* rgb */ color: rgb(170, 86, 220);
/* oklch */ color: oklch(61.3% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#c78ae7',
    500: '#aa56dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa56dc;
$custom-light: #c78ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56dc",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 277.612,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.20364,
    "h": 310.7
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#AA56DC
secondary
#C0E1AD
accent
#E93F7E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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