#AA56CF#AA56CF

#AA56CF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.5% C 0.190 H 314.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AA56CF
RGBrgb(170, 86, 207)
HSLhsl(282, 56%, 57%)
HSVhsv(282, 58%, 81%)
CMYKcmyk(17.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(51.50, 53.82, -48.65)
CIE-LCHlch(51.50, 72.55, 317.89°)
OKLaboklab(60.49% 0.1327 -0.1363)
OKLCHoklch(60.49% 0.19 314.2)
XYZxyz(31.1660, 19.7075, 61.1816)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56CF #7BCF56
analogous
#6E56CF #AA56CF #CF56B7
triadic
#AA56CF #CFAA56 #56CFAA
tetradic
#AA56CF #CF6E56 #7BCF56 #56B7CF
square
#AA56CF #CF6E56 #7BCF56 #56B7CF
split-complementary
#AA56CF #B7CF56 #56CF6E
monochromatic
#682685 #8D33B5 #AA56CF #C286DD #DAB5EA

Accessibility & contrast

On white

4.25
#AA56CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AA56CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56CF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56CF#FFFFFF#000000##000000
##AA56CF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#A76B8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #aa56cf;
/* rgb */ color: rgb(170, 86, 207);
/* oklch */ color: oklch(60.5% 0.190 314.2);
Tailwind
colors: {
  custom: {
    50: '#c68ade',
    500: '#aa56cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa56cf;
$custom-light: #c68ade;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56cf",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 281.653,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.19019,
    "h": 314.2
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#AA56CF
secondary
#B7D9A8
accent
#DF4977
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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