#AA56E0#AA56E0

#AA56E0 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.208 H 309.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AA56E0
RGBrgb(170, 86, 224)
HSLhsl(277, 69%, 61%)
HSVhsv(277, 62%, 88%)
CMYKcmyk(24.1%, 61.6%, 0%, 12.2%)
CIE-LABlab(52.49, 57.46, -56.73)
CIE-LCHlch(52.49, 80.75, 315.37°)
OKLaboklab(61.52% 0.1327 -0.16)
OKLCHoklch(61.52% 0.208 309.7)
XYZxyz(33.3573, 20.5841, 72.7224)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E0 #8CE056
analogous
#6556E0 #AA56E0 #E056D1
triadic
#AA56E0 #E0AA56 #56E0AA
tetradic
#AA56E0 #E06556 #8CE056 #56D1E0
square
#AA56E0 #E06556 #8CE056 #56D1E0
split-complementary
#AA56E0 #D1E056 #56E065
monochromatic
#6C1D9F #8F27D2 #AA56E0 #C48AE9 #DEBDF3

Accessibility & contrast

On white

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

On black

5.12
#AA56E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E0#FFFFFF#000000##000000
##AA56E01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#137AE4
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#A37193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56e0;
/* rgb */ color: rgb(170, 86, 224);
/* oklch */ color: oklch(61.5% 0.208 309.7);
Tailwind
colors: {
  custom: {
    50: '#c78aea',
    500: '#aa56e0',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e0;
$custom-light: #c78aea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e0",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 276.522,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.20781,
    "h": 309.7
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#AA56E0
secondary
#C3E3AF
accent
#D1155E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56E0

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

Preview Lab → · Contrast checker → · Palette generator →

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