#AA56FF#AA56FF

#AA56FF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.6% C 0.240 H 302.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AA56FF
RGBrgb(170, 86, 255)
HSLhsl(270, 100%, 67%)
HSVhsv(270, 66%, 100%)
CMYKcmyk(33.3%, 66.3%, 0%, 0%)
CIE-LABlab(54.47, 64.43, -70.88)
CIE-LCHlch(54.47, 95.79, 312.27°)
OKLaboklab(63.58% 0.1304 -0.2015)
OKLCHoklch(63.58% 0.24 302.9)
XYZxyz(37.9511, 22.4216, 96.9168)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56FF #ABFF56
analogous
#5657FF #AA56FF #FE56FF
triadic
#AA56FF #FFAA56 #56FFAA
tetradic
#AA56FF #FF5657 #ABFF56 #56FFFE
square
#AA56FF #FF5657 #ABFF56 #56FFFE
split-complementary
#AA56FF #FFFE56 #57FF56
monochromatic
#6D00DB #8B19FF #AA56FF #C993FF #E8D0FF

Accessibility & contrast

On white

3.83
#AA56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AA56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56FF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56FF#FFFFFF#000000##000000
##AA56FF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0082FB
Tritanopia (blue-blind)
#997CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #aa56ff;
/* rgb */ color: rgb(170, 86, 255);
/* oklch */ color: oklch(63.6% 0.240 302.9);
Tailwind
colors: {
  custom: {
    50: '#c98bff',
    500: '#aa56ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa56ff;
$custom-light: #c98bff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56ff",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 269.822,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63579,
    "c": 0.24001,
    "h": 302.9
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

primary
#AA56FF
secondary
#D9F3BD
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AA56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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