#AA56F1#AA56F1

#AA56F1 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.225 H 305.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AA56F1
RGBrgb(170, 86, 241)
HSLhsl(273, 85%, 64%)
HSVhsv(273, 64%, 95%)
CMYKcmyk(29.5%, 64.3%, 0%, 5.5%)
CIE-LABlab(53.55, 61.24, -64.59)
CIE-LCHlch(53.55, 89.00, 313.48°)
OKLaboklab(62.62% 0.1317 -0.183)
OKLCHoklch(62.62% 0.225 305.7)
XYZxyz(35.7791, 21.5528, 85.4772)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56F1 #9DF156
analogous
#5D56F1 #AA56F1 #F156EB
triadic
#AA56F1 #F1AA56 #56F1AA
tetradic
#AA56F1 #F15D56 #9DF156 #56EBF1
square
#AA56F1 #F15D56 #9DF156 #56EBF1
split-complementary
#AA56F1 #EBF156 #56F15D
monochromatic
#6E10BD #8E1DEC #AA56F1 #C68FF6 #E3C7FA

Accessibility & contrast

On white

3.95
#AA56F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AA56F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56F1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56F1#FFFFFF#000000##000000
##AA56F11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#2E80EE
Tritanopia (blue-blind)
#9E779C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa56f1;
/* rgb */ color: rgb(170, 86, 241);
/* oklch */ color: oklch(62.6% 0.225 305.7);
Tailwind
colors: {
  custom: {
    50: '#c88bf6',
    500: '#aa56f1',
    950: '#000000',
  },
}
SCSS
$custom: #aa56f1;
$custom-light: #c88bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56f1",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 272.516,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62624,
    "c": 0.22548,
    "h": 305.7
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

primary
#AA56F1
secondary
#CFECB6
accent
#E10469
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56F1

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

Preview Lab → · Contrast checker → · Palette generator →

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