#AA56DD#AA56DD

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

Color values

HEX#AA56DD
RGBrgb(170, 86, 221)
HSLhsl(277, 67%, 60%)
HSVhsv(277, 61%, 87%)
CMYKcmyk(23.1%, 61.1%, 0%, 13.3%)
CIE-LABlab(52.31, 56.81, -55.33)
CIE-LCHlch(52.31, 79.30, 315.76°)
OKLaboklab(61.33% 0.1327 -0.1558)
OKLCHoklch(61.33% 0.205 310.4)
XYZxyz(32.9540, 20.4228, 70.5986)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56DD #89DD56
analogous
#6656DD #AA56DD #DD56CD
triadic
#AA56DD #DDAA56 #56DDAA
tetradic
#AA56DD #DD6656 #89DD56 #56CDDD
square
#AA56DD #DD6656 #89DD56 #56CDDD
split-complementary
#AA56DD #CDDD56 #56DD66
monochromatic
#6B1F9A #8F29CD #AA56DD #C489E7 #DDBCF2

Accessibility & contrast

On white

4.13
#AA56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AA56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56DD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56DD#FFFFFF#000000##000000
##AA56DD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B79E1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#A37092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56dd;
/* rgb */ color: rgb(170, 86, 221);
/* oklch */ color: oklch(61.3% 0.205 310.4);
Tailwind
colors: {
  custom: {
    50: '#c78ae8',
    500: '#aa56dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa56dd;
$custom-light: #c78ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56dd",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 277.333,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.20468,
    "h": 310.4
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#AA56DD
secondary
#C1E1AE
accent
#CE175C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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