#A0159C#A0159C

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

Color values

HEX#A0159C
RGBrgb(160, 21, 156)
HSLhsl(302, 77%, 35%)
HSVhsv(302, 87%, 63%)
CMYKcmyk(0%, 86.9%, 2.5%, 37.3%)
CIE-LABlab(38.57, 65.92, -39.38)
CIE-LCHlch(38.57, 76.79, 329.15°)
OKLaboklab(49.94% 0.1861 -0.1091)
OKLCHoklch(49.94% 0.216 329.6)
XYZxyz(20.7660, 10.4119, 32.3620)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159C #15A019
analogous
#5F15A0 #A0159C #A01556
triadic
#A0159C #9CA015 #159CA0
tetradic
#A0159C #A05F15 #15A019 #1556A0
square
#A0159C #A05F15 #15A019 #1556A0
split-complementary
#A0159C #56A015 #15A05F
monochromatic
#340733 #6A0E67 #A0159C #D61CD1 #E748E2

Accessibility & contrast

On white

6.81
#A0159C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A0159C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0159C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159C#FFFFFF#000000##FFFFFF
##A0159C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A62F5C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159c;
/* rgb */ color: rgb(160, 21, 156);
/* oklch */ color: oklch(49.9% 0.216 329.6);
Tailwind
colors: {
  custom: {
    50: '#c069ba',
    500: '#a0159c',
    950: '#000000',
  },
}
SCSS
$custom: #a0159c;
$custom-light: #c069ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159c",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 156
  },
  "hsl": {
    "h": 301.727,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.21577,
    "h": 329.6
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#A0159C
secondary
#49C84C
accent
#F33A34
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A0159C

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

Preview Lab → · Contrast checker → · Palette generator →

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