#AA59DC#AA59DC

#AA59DC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.7% C 0.199 H 310.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AA59DC
RGBrgb(170, 89, 220)
HSLhsl(277, 65%, 61%)
HSVhsv(277, 60%, 86%)
CMYKcmyk(22.7%, 59.5%, 0%, 13.7%)
CIE-LABlab(52.79, 55.13, -53.99)
CIE-LCHlch(52.79, 77.16, 315.60°)
OKLaboklab(61.67% 0.1291 -0.1519)
OKLCHoklch(61.67% 0.199 310.4)
XYZxyz(33.0658, 20.8588, 69.9805)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA59DC #8BDC59
analogous
#6859DC #AA59DC #DC59CD
triadic
#AA59DC #DCAA59 #59DCAA
tetradic
#AA59DC #DC6859 #8BDC59 #59CDDC
square
#AA59DC #DC6859 #8BDC59 #59CDDC
split-complementary
#AA59DC #CDDC59 #59DC68
monochromatic
#6C209A #8F2BCD #AA59DC #C48CE7 #DEBEF1

Accessibility & contrast

On white

4.06
#AA59DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AA59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA59DC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA59DC#FFFFFF#000000##000000
##AA59DC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267AE0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#A47292
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #aa59dc;
/* rgb */ color: rgb(170, 89, 220);
/* oklch */ color: oklch(61.7% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#c78ce7',
    500: '#aa59dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa59dc;
$custom-light: #c78ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa59dc",
  "rgb": {
    "r": 170,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 277.099,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61666,
    "c": 0.19937,
    "h": 310.4
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#AA59DC
secondary
#C3E1AF
accent
#CD185D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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