#AA56E3#AA56E3

#AA56E3 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.211 H 308.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AA56E3
RGBrgb(170, 86, 227)
HSLhsl(276, 72%, 61%)
HSVhsv(276, 62%, 89%)
CMYKcmyk(25.1%, 62.1%, 0%, 11%)
CIE-LABlab(52.67, 58.12, -58.14)
CIE-LCHlch(52.67, 82.21, 314.99°)
OKLaboklab(61.71% 0.1326 -0.1641)
OKLCHoklch(61.71% 0.211 308.9)
XYZxyz(33.7677, 20.7482, 74.8841)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56E3 #8FE356
analogous
#6456E3 #AA56E3 #E356D6
triadic
#AA56E3 #E3AA56 #56E3AA
tetradic
#AA56E3 #E36456 #8FE356 #56D6E3
square
#AA56E3 #E36456 #8FE356 #56D6E3
split-complementary
#AA56E3 #D6E356 #56E364
monochromatic
#6C1BA4 #8F24D8 #AA56E3 #C48BEC #DFBFF4

Accessibility & contrast

On white

4.08
#AA56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AA56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56E3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56E3#FFFFFF#000000##000000
##AA56E31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#067AE7
Deuteranopia (green-blind)
#417FE0
Tritanopia (blue-blind)
#A27295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa56e3;
/* rgb */ color: rgb(170, 86, 227);
/* oklch */ color: oklch(61.7% 0.211 308.9);
Tailwind
colors: {
  custom: {
    50: '#c78aec',
    500: '#aa56e3',
    950: '#000000',
  },
}
SCSS
$custom: #aa56e3;
$custom-light: #c78aec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56e3",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 275.745,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.21092,
    "h": 308.9
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#AA56E3
secondary
#C5E5B0
accent
#D41260
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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