#AA56DA#AA56DA

#AA56DA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.202 H 311.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA56DA
RGBrgb(170, 86, 218)
HSLhsl(278, 64%, 60%)
HSVhsv(278, 61%, 85%)
CMYKcmyk(22%, 60.6%, 0%, 14.5%)
CIE-LABlab(52.13, 56.16, -53.91)
CIE-LCHlch(52.13, 77.85, 316.17°)
OKLaboklab(61.15% 0.1328 -0.1517)
OKLCHoklch(61.15% 0.202 311.2)
XYZxyz(32.5579, 20.2643, 68.5124)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56DA #86DA56
analogous
#6856DA #AA56DA #DA56C8
triadic
#AA56DA #DAAA56 #56DAAA
tetradic
#AA56DA #DA6856 #86DA56 #56C8DA
square
#AA56DA #DA6856 #86DA56 #56C8DA
split-complementary
#AA56DA #C8DA56 #56DA68
monochromatic
#6B2195 #8F2CC7 #AA56DA #C388E5 #DDBAF0

Accessibility & contrast

On white

4.16
#AA56DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#AA56DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56DA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56DA#FFFFFF#000000##000000
##AA56DA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DE
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#A46F90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #aa56da;
/* rgb */ color: rgb(170, 86, 218);
/* oklch */ color: oklch(61.1% 0.202 311.2);
Tailwind
colors: {
  custom: {
    50: '#c78ae6',
    500: '#aa56da',
    950: '#000000',
  },
}
SCSS
$custom: #aa56da;
$custom-light: #c78ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56da",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 278.182,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.20157,
    "h": 311.2
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#AA56DA
secondary
#BFE0AC
accent
#E7417D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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