#A0159B#A0159B

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

Color values

HEX#A0159B
RGBrgb(160, 21, 155)
HSLhsl(302, 77%, 35%)
HSVhsv(302, 87%, 63%)
CMYKcmyk(0%, 86.9%, 3.1%, 37.3%)
CIE-LABlab(38.51, 65.77, -38.87)
CIE-LCHlch(38.51, 76.40, 329.42°)
OKLaboklab(49.88% 0.1862 -0.1076)
OKLCHoklch(49.88% 0.215 330)
XYZxyz(20.6817, 10.3782, 31.9179)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0159B #15A01A
analogous
#5F15A0 #A0159B #A01556
triadic
#A0159B #9BA015 #159BA0
tetradic
#A0159B #A05F15 #15A01A #1556A0
square
#A0159B #A05F15 #15A01A #1556A0
split-complementary
#A0159B #56A015 #15A05F
monochromatic
#340732 #6A0E67 #A0159B #D61CCF #E748E1

Accessibility & contrast

On white

6.83
#A0159B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0159B
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0159B#FFFFFF#000000##FFFFFF
##A0159B1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A62E5C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0159b;
/* rgb */ color: rgb(160, 21, 155);
/* oklch */ color: oklch(49.9% 0.215 330.0);
Tailwind
colors: {
  custom: {
    50: '#c069b9',
    500: '#a0159b',
    950: '#000000',
  },
}
SCSS
$custom: #a0159b;
$custom-light: #c069b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a0159b",
  "rgb": {
    "r": 160,
    "g": 21,
    "b": 155
  },
  "hsl": {
    "h": 302.158,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49879,
    "c": 0.21507,
    "h": 330
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#A0159B
secondary
#49C84D
accent
#F33B34
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A0159B

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

Preview Lab → · Contrast checker → · Palette generator →

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