#AA50D8#AA50D8

#AA50D8 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.208 H 312.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AA50D8
RGBrgb(170, 80, 216)
HSLhsl(280, 64%, 58%)
HSVhsv(280, 63%, 85%)
CMYKcmyk(21.3%, 63%, 0%, 15.3%)
CIE-LABlab(50.97, 58.59, -54.64)
CIE-LCHlch(50.97, 80.11, 317.00°)
OKLaboklab(60.27% 0.1399 -0.1538)
OKLCHoklch(60.27% 0.208 312.3)
XYZxyz(31.8387, 19.2421, 66.9893)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA50D8 #7ED850
analogous
#6650D8 #AA50D8 #D850C2
triadic
#AA50D8 #D8AA50 #50D8AA
tetradic
#AA50D8 #D86650 #7ED850 #50C2D8
square
#AA50D8 #D86650 #7ED850 #50C2D8
split-complementary
#AA50D8 #C2D850 #50D866
monochromatic
#69208E #8E2BC0 #AA50D8 #C282E3 #DBB4EE

Accessibility & contrast

On white

4.33
#AA50D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AA50D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA50D8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA50D8#FFFFFF#000000##000000
##AA50D81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#A56A8D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa50d8;
/* rgb */ color: rgb(170, 80, 216);
/* oklch */ color: oklch(60.3% 0.208 312.3);
Tailwind
colors: {
  custom: {
    50: '#c786e5',
    500: '#aa50d8',
    950: '#000000',
  },
}
SCSS
$custom: #aa50d8;
$custom-light: #c786e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa50d8",
  "rgb": {
    "r": 170,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 279.706,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60266,
    "c": 0.20791,
    "h": 312.3
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#AA50D8
secondary
#B9DDA7
accent
#E74179
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AA50D8

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

Preview Lab → · Contrast checker → · Palette generator →

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