#AA56F0#AA56F0

#AA56F0 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.6% C 0.224 H 306.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AA56F0
RGBrgb(170, 86, 240)
HSLhsl(273, 84%, 64%)
HSVhsv(273, 64%, 94%)
CMYKcmyk(29.2%, 64.2%, 0%, 5.9%)
CIE-LABlab(53.49, 61.02, -64.13)
CIE-LCHlch(53.49, 88.52, 313.57°)
OKLaboklab(62.56% 0.1318 -0.1817)
OKLCHoklch(62.56% 0.224 306)
XYZxyz(35.6301, 21.4932, 84.6927)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56F0 #9CF056
analogous
#5D56F0 #AA56F0 #F056E9
triadic
#AA56F0 #F0AA56 #56F0AA
tetradic
#AA56F0 #F05D56 #9CF056 #56E9F0
square
#AA56F0 #F05D56 #9CF056 #56E9F0
split-complementary
#AA56F0 #E9F056 #56F05D
monochromatic
#6E11BB #8E1EEB #AA56F0 #C68EF5 #E3C6FA

Accessibility & contrast

On white

3.96
#AA56F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AA56F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56F0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56F0#FFFFFF#000000##000000
##AA56F01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3080ED
Tritanopia (blue-blind)
#9E779C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa56f0;
/* rgb */ color: rgb(170, 86, 240);
/* oklch */ color: oklch(62.6% 0.224 306.0);
Tailwind
colors: {
  custom: {
    50: '#c88af6',
    500: '#aa56f0',
    950: '#000000',
  },
}
SCSS
$custom: #aa56f0;
$custom-light: #c88af6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56f0",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 272.727,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62557,
    "c": 0.22444,
    "h": 306
  },
  "luminance": 0.21493
}

Semantic roles & 50–950 ramp

primary
#AA56F0
secondary
#CEECB6
accent
#E00569
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56F0

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

Preview Lab → · Contrast checker → · Palette generator →

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