#AA56DF#AA56DF

#AA56DF is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.207 H 309.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AA56DF
RGBrgb(170, 86, 223)
HSLhsl(277, 68%, 61%)
HSVhsv(277, 61%, 87%)
CMYKcmyk(23.8%, 61.4%, 0%, 12.5%)
CIE-LABlab(52.43, 57.25, -56.27)
CIE-LCHlch(52.43, 80.27, 315.49°)
OKLaboklab(61.46% 0.1327 -0.1586)
OKLCHoklch(61.46% 0.207 309.9)
XYZxyz(33.2221, 20.5300, 72.0103)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA56DF #8BDF56
analogous
#6556DF #AA56DF #DF56D0
triadic
#AA56DF #DFAA56 #56DFAA
tetradic
#AA56DF #DF6556 #8BDF56 #56D0DF
square
#AA56DF #DF6556 #8BDF56 #56D0DF
split-complementary
#AA56DF #D0DF56 #56DF65
monochromatic
#6C1E9D #8F27D0 #AA56DF #C489E9 #DEBDF2

Accessibility & contrast

On white

4.11
#AA56DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AA56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA56DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA56DF#FFFFFF#000000##000000
##AA56DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#A37193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #aa56df;
/* rgb */ color: rgb(170, 86, 223);
/* oklch */ color: oklch(61.5% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#c78aea',
    500: '#aa56df',
    950: '#000000',
  },
}
SCSS
$custom: #aa56df;
$custom-light: #c78aea;
$custom-dark: #000000;
JSON
{
  "hex": "#aa56df",
  "rgb": {
    "r": 170,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 276.788,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.20676,
    "h": 309.9
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#AA56DF
secondary
#C3E2AE
accent
#D0155E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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