#AA50D3#AA50D3

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

Color values

HEX#AA50D3
RGBrgb(170, 80, 211)
HSLhsl(281, 60%, 57%)
HSVhsv(281, 62%, 83%)
CMYKcmyk(19.4%, 62.1%, 0%, 17.3%)
CIE-LABlab(50.67, 57.54, -52.26)
CIE-LCHlch(50.67, 77.73, 317.75°)
OKLaboklab(59.96% 0.14 -0.1468)
OKLCHoklch(59.96% 0.203 313.6)
XYZxyz(31.2021, 18.9874, 63.6367)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50D3 #79D350
analogous
#6950D3 #AA50D3 #D350BB
triadic
#AA50D3 #D3AA50 #50D3AA
tetradic
#AA50D3 #D36950 #79D350 #50BBD3
square
#AA50D3 #D36950 #79D350 #50BBD3
split-complementary
#AA50D3 #BBD350 #50D369
monochromatic
#672287 #8D2EB8 #AA50D3 #C281DF #DAB2EC

Accessibility & contrast

On white

4.38
#AA50D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AA50D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50D3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50D3#FFFFFF#000000##000000
##AA50D31.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#A6688A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa50d3;
/* rgb */ color: rgb(170, 80, 211);
/* oklch */ color: oklch(60.0% 0.203 313.6);
Tailwind
colors: {
  custom: {
    50: '#c786e1',
    500: '#aa50d3',
    950: '#000000',
  },
}
SCSS
$custom: #aa50d3;
$custom-light: #c786e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50d3",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 211
  },
  "hsl": {
    "h": 281.221,
    "s": 59.817,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.2029,
    "h": 313.6
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#AA50D3
secondary
#B5DAA5
accent
#E34576
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA50D3

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

Preview Lab → · Contrast checker → · Palette generator →

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