#AA56E4#AA56E4

#AA56E4 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.8% C 0.212 H 308.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AA56E4
RGBrgb(170, 86, 228)
HSLhsl(275, 72%, 62%)
HSVhsv(275, 62%, 89%)
CMYKcmyk(25.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(52.73, 58.34, -58.60)
CIE-LCHlch(52.73, 82.69, 314.87°)
OKLaboklab(61.78% 0.1325 -0.1654)
OKLCHoklch(61.78% 0.212 308.7)
XYZxyz(33.9061, 20.8036, 75.6131)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E4 #90E456
analogous
#6356E4 #AA56E4 #E456D7
triadic
#AA56E4 #E4AA56 #56E4AA
tetradic
#AA56E4 #E46356 #90E456 #56D7E4
square
#AA56E4 #E46356 #90E456 #56D7E4
split-complementary
#AA56E4 #D7E456 #56E463
monochromatic
#6D1AA5 #8F23DA #AA56E4 #C58BEC #DFC0F5

Accessibility & contrast

On white

4.07
#AA56E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#AA56E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E4#FFFFFF#000000##000000
##AA56E41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#017AE8
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa56e4;
/* rgb */ color: rgb(170, 86, 228);
/* oklch */ color: oklch(61.8% 0.212 308.7);
Tailwind
colors: {
  custom: {
    50: '#c78aed',
    500: '#aa56e4',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e4;
$custom-light: #c78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e4",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 275.493,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.21196,
    "h": 308.7
  },
  "luminance": 0.20803
}

Semantic roles & 50–950 ramp

primary
#AA56E4
secondary
#C6E5B0
accent
#D51161
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56E4

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

Preview Lab → · Contrast checker → · Palette generator →

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