#AA50BA#AA50BA

#AA50BA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.5% C 0.178 H 321.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AA50BA
RGBrgb(170, 80, 186)
HSLhsl(291, 43%, 52%)
HSVhsv(291, 57%, 73%)
CMYKcmyk(8.6%, 57%, 0%, 27.1%)
CIE-LABlab(49.29, 52.49, -40.06)
CIE-LCHlch(49.29, 66.03, 322.65°)
OKLaboklab(58.5% 0.1393 -0.1112)
OKLCHoklch(58.5% 0.178 321.4)
XYZxyz(28.3082, 17.8299, 48.3952)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50BA #60BA50
analogous
#7550BA #AA50BA #BA5095
triadic
#AA50BA #BAAA50 #50BAAA
tetradic
#AA50BA #BA7550 #60BA50 #5095BA
square
#AA50BA #BA7550 #60BA50 #5095BA
split-complementary
#AA50BA #95BA50 #50BA75
monochromatic
#5E2967 #853A93 #AA50BA #BF7CCB #D5A8DD

Accessibility & contrast

On white

4.60
#AA50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AA50BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA50BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50BA#FFFFFF#000000##FFFFFF
##AA50BA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#AC5F7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa50ba;
/* rgb */ color: rgb(170, 80, 186);
/* oklch */ color: oklch(58.5% 0.178 321.4);
Tailwind
colors: {
  custom: {
    50: '#c686cf',
    500: '#aa50ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa50ba;
$custom-light: #c686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50ba",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 290.943,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58502,
    "c": 0.17826,
    "h": 321.4
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#AA50BA
secondary
#A3CA9C
accent
#D35568
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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