#AA50D9#AA50D9

#AA50D9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.209 H 312.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA50D9
RGBrgb(170, 80, 217)
HSLhsl(279, 64%, 58%)
HSVhsv(279, 63%, 85%)
CMYKcmyk(21.7%, 63.1%, 0%, 14.9%)
CIE-LABlab(51.03, 58.80, -55.11)
CIE-LCHlch(51.03, 80.59, 316.86°)
OKLaboklab(60.33% 0.1399 -0.1552)
OKLCHoklch(60.33% 0.209 312)
XYZxyz(31.9683, 19.2939, 67.6723)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50D9 #7FD950
analogous
#6550D9 #AA50D9 #D950C3
triadic
#AA50D9 #D9AA50 #50D9AA
tetradic
#AA50D9 #D96550 #7FD950 #50C3D9
square
#AA50D9 #D96550 #7FD950 #50C3D9
split-complementary
#AA50D9 #C3D950 #50D965
monochromatic
#691F8F #8E2AC2 #AA50D9 #C282E4 #DBB5EF

Accessibility & contrast

On white

4.32
#AA50D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AA50D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50D9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50D9#FFFFFF#000000##000000
##AA50D91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B75DD
Deuteranopia (green-blind)
#447BD6
Tritanopia (blue-blind)
#A56A8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #aa50d9;
/* rgb */ color: rgb(170, 80, 217);
/* oklch */ color: oklch(60.3% 0.209 312.0);
Tailwind
colors: {
  custom: {
    50: '#c786e5',
    500: '#aa50d9',
    950: '#000000',
  },
}
SCSS
$custom: #aa50d9;
$custom-light: #c786e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50d9",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 279.416,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.20892,
    "h": 312
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#AA50D9
secondary
#BADEA7
accent
#E7407A
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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