#AA56E1#AA56E1

#AA56E1 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.209 H 309.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AA56E1
RGBrgb(170, 86, 225)
HSLhsl(276, 70%, 61%)
HSVhsv(276, 62%, 88%)
CMYKcmyk(24.4%, 61.8%, 0%, 11.8%)
CIE-LABlab(52.55, 57.68, -57.20)
CIE-LCHlch(52.55, 81.24, 315.24°)
OKLaboklab(61.59% 0.1326 -0.1613)
OKLCHoklch(61.59% 0.209 309.4)
XYZxyz(33.4933, 20.6385, 73.4388)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E1 #8DE156
analogous
#6456E1 #AA56E1 #E156D2
triadic
#AA56E1 #E1AA56 #56E1AA
tetradic
#AA56E1 #E16456 #8DE156 #56D2E1
square
#AA56E1 #E16456 #8DE156 #56D2E1
split-complementary
#AA56E1 #D2E156 #56E164
monochromatic
#6C1CA0 #8F26D4 #AA56E1 #C48AEA #DEBEF3

Accessibility & contrast

On white

4.10
#AA56E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AA56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E1#FFFFFF#000000##000000
##AA56E11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7AE5
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#A27194
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56e1;
/* rgb */ color: rgb(170, 86, 225);
/* oklch */ color: oklch(61.6% 0.209 309.4);
Tailwind
colors: {
  custom: {
    50: '#c78aeb',
    500: '#aa56e1',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e1;
$custom-light: #c78aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e1",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 276.259,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.20884,
    "h": 309.4
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#AA56E1
secondary
#C4E4AF
accent
#D2145F
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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