#A0179D#A0179D

#A0179D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.215 H 329.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A0179D
RGBrgb(160, 23, 157)
HSLhsl(301, 75%, 36%)
HSVhsv(301, 86%, 63%)
CMYKcmyk(0%, 85.6%, 1.9%, 37.3%)
CIE-LABlab(38.76, 65.69, -39.68)
CIE-LCHlch(38.76, 76.74, 328.86°)
OKLaboklab(50.1% 0.185 -0.11)
OKLCHoklch(50.1% 0.215 329.3)
XYZxyz(20.8893, 10.5224, 32.8226)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0179D #17A01A
analogous
#5E17A0 #A0179D #A01758
triadic
#A0179D #9DA017 #179DA0
tetradic
#A0179D #A05E17 #17A01A #1758A0
square
#A0179D #A05E17 #17A01A #1758A0
split-complementary
#A0179D #58A017 #17A05E
monochromatic
#350834 #6A0F68 #A0179D #D61FD2 #E54CE2

Accessibility & contrast

On white

6.77
#A0179D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A0179D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0179D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0179D#FFFFFF#000000##FFFFFF
##A0179D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0179d;
/* rgb */ color: rgb(160, 23, 157);
/* oklch */ color: oklch(50.1% 0.215 329.3);
Tailwind
colors: {
  custom: {
    50: '#c06aba',
    500: '#a0179d',
    950: '#000000',
  },
}
SCSS
$custom: #a0179d;
$custom-light: #c06aba;
$custom-dark: #000000;
JSON
{
  "hex": "#a0179d",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 301.314,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.21522,
    "h": 329.3
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#A0179D
secondary
#4CC74E
accent
#F13A36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A0179D

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

Preview Lab → · Contrast checker → · Palette generator →

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