#AA56E9#AA56E9

#AA56E9 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.1% C 0.217 H 307.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA56E9
RGBrgb(170, 86, 233)
HSLhsl(274, 77%, 63%)
HSVhsv(274, 63%, 91%)
CMYKcmyk(27%, 63.1%, 0%, 8.6%)
CIE-LABlab(53.04, 59.45, -60.92)
CIE-LCHlch(53.04, 85.12, 314.30°)
OKLaboklab(62.1% 0.1323 -0.1722)
OKLCHoklch(62.1% 0.217 307.5)
XYZxyz(34.6103, 21.0853, 79.3216)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E9 #95E956
analogous
#6156E9 #AA56E9 #E956DE
triadic
#AA56E9 #E9AA56 #56E9AA
tetradic
#AA56E9 #E96156 #95E956 #56DEE9
square
#AA56E9 #E96156 #95E956 #56DEE9
split-complementary
#AA56E9 #DEE956 #56E961
monochromatic
#6D17AE #8F20E2 #AA56E9 #C58CF0 #E0C2F7

Accessibility & contrast

On white

4.03
#AA56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#AA56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E9#FFFFFF#000000##000000
##AA56E91.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#3A7FE6
Tritanopia (blue-blind)
#A07498
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #aa56e9;
/* rgb */ color: rgb(170, 86, 233);
/* oklch */ color: oklch(62.1% 0.217 307.5);
Tailwind
colors: {
  custom: {
    50: '#c78af1',
    500: '#aa56e9',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e9;
$custom-light: #c78af1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e9",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 274.286,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.21716,
    "h": 307.5
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#AA56E9
secondary
#CAE8B3
accent
#D90C64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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