#A050A2#A050A2

#A050A2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.0% C 0.150 H 326.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A050A2
RGBrgb(160, 80, 162)
HSLhsl(299, 34%, 47%)
HSVhsv(299, 51%, 64%)
CMYKcmyk(1.2%, 50.6%, 0%, 36.5%)
CIE-LABlab(46.74, 45.11, -30.09)
CIE-LCHlch(46.74, 54.22, 326.29°)
OKLaboklab(55.96% 0.1246 -0.0827)
OKLCHoklch(55.96% 0.15 326.4)
XYZxyz(23.8870, 15.8208, 35.9709)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A050A2 #52A250
analogous
#7750A2 #A050A2 #A2507B
triadic
#A050A2 #A2A050 #50A2A0
tetradic
#A050A2 #A27750 #52A250 #507BA2
square
#A050A2 #A27750 #52A250 #507BA2
split-complementary
#A050A2 #7BA250 #50A277
monochromatic
#4F2850 #783C79 #A050A2 #B975BB #CE9ECF

Accessibility & contrast

On white

5.04
#A050A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A050A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A050A2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A050A2#FFFFFF#000000##FFFFFF
##A050A21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#6072A0
Tritanopia (blue-blind)
#A45972
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a050a2;
/* rgb */ color: rgb(160, 80, 162);
/* oklch */ color: oklch(56.0% 0.150 326.4);
Tailwind
colors: {
  custom: {
    50: '#be84be',
    500: '#a050a2',
    950: '#000000',
  },
}
SCSS
$custom: #a050a2;
$custom-light: #be84be;
$custom-dark: #000000;
JSON
{
  "hex": "#a050a2",
  "rgb": {
    "r": 160,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 298.537,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.14955,
    "h": 326.4
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#A050A2
secondary
#93BC92
accent
#CA5E60
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #A050A2

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

Preview Lab → · Contrast checker → · Palette generator →

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