#A0159A#A0159A

#A0159A is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.214 H 330.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A0159A
RGBrgb(160, 21, 154)
HSLhsl(303, 77%, 35%)
HSVhsv(303, 87%, 63%)
CMYKcmyk(0%, 86.9%, 3.8%, 37.3%)
CIE-LABlab(38.45, 65.61, -38.36)
CIE-LCHlch(38.45, 76.00, 329.69°)
OKLaboklab(49.82% 0.1862 -0.1061)
OKLCHoklch(49.82% 0.214 330.3)
XYZxyz(20.5980, 10.3447, 31.4775)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159A #15A01B
analogous
#6015A0 #A0159A #A01554
triadic
#A0159A #9AA015 #159AA0
tetradic
#A0159A #A06015 #15A01B #1554A0
square
#A0159A #A06015 #15A01B #1554A0
split-complementary
#A0159A #54A015 #15A060
monochromatic
#340732 #6A0E66 #A0159A #D61CCE #E748E0

Accessibility & contrast

On white

6.84
#A0159A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A0159A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0159A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159A#FFFFFF#000000##FFFFFF
##A0159A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A62E5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159a;
/* rgb */ color: rgb(160, 21, 154);
/* oklch */ color: oklch(49.8% 0.214 330.3);
Tailwind
colors: {
  custom: {
    50: '#c069b8',
    500: '#a0159a',
    950: '#000000',
  },
}
SCSS
$custom: #a0159a;
$custom-light: #c069b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159a",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 154
  },
  "hsl": {
    "h": 302.59,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49819,
    "c": 0.21437,
    "h": 330.3
  },
  "luminance": 0.10343
}

Semantic roles & 50–950 ramp

primary
#A0159A
secondary
#49C84E
accent
#F33D34
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A0159A

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

Preview Lab → · Contrast checker → · Palette generator →

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