#A0159D#A0159D

#A0159D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.216 H 329.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A0159D
RGBrgb(160, 21, 157)
HSLhsl(301, 77%, 35%)
HSVhsv(301, 87%, 63%)
CMYKcmyk(0%, 86.9%, 1.9%, 37.3%)
CIE-LABlab(38.63, 66.08, -39.89)
CIE-LCHlch(38.63, 77.18, 328.88°)
OKLaboklab(50% 0.1861 -0.1106)
OKLCHoklch(50% 0.216 329.3)
XYZxyz(20.8510, 10.4459, 32.8098)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159D #15A018
analogous
#5D15A0 #A0159D #A01557
triadic
#A0159D #9DA015 #159DA0
tetradic
#A0159D #A05D15 #15A018 #1557A0
square
#A0159D #A05D15 #15A018 #1557A0
split-complementary
#A0159D #57A015 #15A05D
monochromatic
#340733 #6A0E68 #A0159D #D61CD2 #E748E4

Accessibility & contrast

On white

6.80
#A0159D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A0159D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0159D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159D#FFFFFF#000000##FFFFFF
##A0159D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A6305D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159d;
/* rgb */ color: rgb(160, 21, 157);
/* oklch */ color: oklch(50.0% 0.216 329.3);
Tailwind
colors: {
  custom: {
    50: '#c069ba',
    500: '#a0159d',
    950: '#000000',
  },
}
SCSS
$custom: #a0159d;
$custom-light: #c069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159d",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 157
  },
  "hsl": {
    "h": 301.295,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.21648,
    "h": 329.3
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#A0159D
secondary
#49C84B
accent
#F33934
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #A0159D

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

Preview Lab → · Contrast checker → · Palette generator →

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