#AA56F4#AA56F4

#AA56F4 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.229 H 305.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AA56F4
RGBrgb(170, 86, 244)
HSLhsl(272, 88%, 65%)
HSVhsv(272, 65%, 96%)
CMYKcmyk(30.3%, 64.8%, 0%, 4.3%)
CIE-LABlab(53.74, 61.92, -65.95)
CIE-LCHlch(53.74, 90.46, 313.19°)
OKLaboklab(62.83% 0.1315 -0.187)
OKLCHoklch(62.83% 0.229 305.1)
XYZxyz(36.2309, 21.7335, 87.8567)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56F4 #A0F456
analogous
#5B56F4 #AA56F4 #F456EF
triadic
#AA56F4 #F4AA56 #56F4AA
tetradic
#AA56F4 #F45B56 #A0F456 #56EFF4
square
#AA56F4 #F45B56 #A0F456 #56EFF4
split-complementary
#AA56F4 #EFF456 #56F45B
monochromatic
#6E0DC3 #8D1DF0 #AA56F4 #C78FF8 #E4C9FB

Accessibility & contrast

On white

3.93
#AA56F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AA56F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56F4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56F4#FFFFFF#000000##000000
##AA56F41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#2881F1
Tritanopia (blue-blind)
#9D789E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #aa56f4;
/* rgb */ color: rgb(170, 86, 244);
/* oklch */ color: oklch(62.8% 0.229 305.1);
Tailwind
colors: {
  custom: {
    50: '#c88bf9',
    500: '#aa56f4',
    950: '#000000',
  },
}
SCSS
$custom: #aa56f4;
$custom-light: #c88bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56f4",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 271.899,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62825,
    "c": 0.2286,
    "h": 305.1
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#AA56F4
secondary
#D1EEB8
accent
#E4016C
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AA56F4

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

Preview Lab → · Contrast checker → · Palette generator →

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