#AA56DE#AA56DE

#AA56DE is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.206 H 310.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AA56DE
RGBrgb(170, 86, 222)
HSLhsl(277, 67%, 60%)
HSVhsv(277, 61%, 87%)
CMYKcmyk(23.4%, 61.3%, 0%, 12.9%)
CIE-LABlab(52.37, 57.03, -55.80)
CIE-LCHlch(52.37, 79.78, 315.63°)
OKLaboklab(61.4% 0.1327 -0.1572)
OKLCHoklch(61.4% 0.206 310.2)
XYZxyz(33.0876, 20.4762, 71.3024)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56DE #8ADE56
analogous
#6656DE #AA56DE #DE56CE
triadic
#AA56DE #DEAA56 #56DEAA
tetradic
#AA56DE #DE6656 #8ADE56 #56CEDE
square
#AA56DE #DE6656 #8ADE56 #56CEDE
split-complementary
#AA56DE #CEDE56 #56DE66
monochromatic
#6C1E9B #8F28CE #AA56DE #C489E8 #DEBCF2

Accessibility & contrast

On white

4.12
#AA56DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AA56DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56DE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56DE#FFFFFF#000000##000000
##AA56DE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#A37092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56de;
/* rgb */ color: rgb(170, 86, 222);
/* oklch */ color: oklch(61.4% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#c78ae9',
    500: '#aa56de',
    950: '#000000',
  },
}
SCSS
$custom: #aa56de;
$custom-light: #c78ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56de",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 277.059,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61396,
    "c": 0.20572,
    "h": 310.2
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#AA56DE
secondary
#C2E2AE
accent
#CF165D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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