#AA56E6#AA56E6

#AA56E6 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.9% C 0.214 H 308.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AA56E6
RGBrgb(170, 86, 230)
HSLhsl(275, 74%, 62%)
HSVhsv(275, 63%, 90%)
CMYKcmyk(26.1%, 62.6%, 0%, 9.8%)
CIE-LABlab(52.86, 58.78, -59.53)
CIE-LCHlch(52.86, 83.66, 314.64°)
OKLaboklab(61.9% 0.1324 -0.1682)
OKLCHoklch(61.9% 0.214 308.2)
XYZxyz(34.1854, 20.9153, 77.0837)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E6 #92E656
analogous
#6256E6 #AA56E6 #E656DA
triadic
#AA56E6 #E6AA56 #56E6AA
tetradic
#AA56E6 #E66256 #92E656 #56DAE6
square
#AA56E6 #E66256 #92E656 #56DAE6
split-complementary
#AA56E6 #DAE656 #56E662
monochromatic
#6D19A9 #8F21DE #AA56E6 #C58BEE #E0C1F6

Accessibility & contrast

On white

4.05
#AA56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AA56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E6#FFFFFF#000000##000000
##AA56E61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#A17396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa56e6;
/* rgb */ color: rgb(170, 86, 230);
/* oklch */ color: oklch(61.9% 0.214 308.2);
Tailwind
colors: {
  custom: {
    50: '#c78aef',
    500: '#aa56e6',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e6;
$custom-light: #c78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e6",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 275,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61903,
    "c": 0.21404,
    "h": 308.2
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#AA56E6
secondary
#C7E6B1
accent
#D60F62
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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