#AA50D4#AA50D4

#AA50D4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.204 H 313.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA50D4
RGBrgb(170, 80, 212)
HSLhsl(281, 61%, 57%)
HSVhsv(281, 62%, 83%)
CMYKcmyk(19.8%, 62.3%, 0%, 16.9%)
CIE-LABlab(50.73, 57.75, -52.74)
CIE-LCHlch(50.73, 78.21, 317.59°)
OKLaboklab(60.02% 0.14 -0.1482)
OKLCHoklch(60.02% 0.204 313.4)
XYZxyz(31.3279, 19.0377, 64.2990)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50D4 #7AD450
analogous
#6850D4 #AA50D4 #D450BC
triadic
#AA50D4 #D4AA50 #50D4AA
tetradic
#AA50D4 #D46850 #7AD450 #50BCD4
square
#AA50D4 #D46850 #7AD450 #50BCD4
split-complementary
#AA50D4 #BCD450 #50D468
monochromatic
#672188 #8D2EB9 #AA50D4 #C281E0 #DAB2EC

Accessibility & contrast

On white

4.37
#AA50D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AA50D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50D4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50D4#FFFFFF#000000##000000
##AA50D41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#497BD1
Tritanopia (blue-blind)
#A6698B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa50d4;
/* rgb */ color: rgb(170, 80, 212);
/* oklch */ color: oklch(60.0% 0.204 313.4);
Tailwind
colors: {
  custom: {
    50: '#c786e2',
    500: '#aa50d4',
    950: '#000000',
  },
}
SCSS
$custom: #aa50d4;
$custom-light: #c786e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50d4",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 280.909,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.2039,
    "h": 313.4
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#AA50D4
secondary
#B6DBA5
accent
#E44477
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA50D4

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

Preview Lab → · Contrast checker → · Palette generator →

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