#A0179B#A0179B

#A0179B is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.214 H 330.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A0179B
RGBrgb(160, 23, 155)
HSLhsl(302, 75%, 36%)
HSVhsv(302, 86%, 63%)
CMYKcmyk(0%, 85.6%, 3.1%, 37.3%)
CIE-LABlab(38.65, 65.38, -38.66)
CIE-LCHlch(38.65, 75.95, 329.40°)
OKLaboklab(49.97% 0.1851 -0.107)
OKLCHoklch(49.97% 0.214 330)
XYZxyz(20.7199, 10.4546, 31.9307)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0179B #17A01C
analogous
#6017A0 #A0179B #A01756
triadic
#A0179B #9BA017 #179BA0
tetradic
#A0179B #A06017 #17A01C #1756A0
square
#A0179B #A06017 #17A01C #1756A0
split-complementary
#A0179B #56A017 #17A060
monochromatic
#350833 #6A0F67 #A0179B #D61FCF #E54CE0

Accessibility & contrast

On white

6.79
#A0179B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A0179B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0179B#FFFFFF#000000##FFFFFF
##A0179B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A62F5C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a0179b;
/* rgb */ color: rgb(160, 23, 155);
/* oklch */ color: oklch(50.0% 0.214 330.0);
Tailwind
colors: {
  custom: {
    50: '#c06ab9',
    500: '#a0179b',
    950: '#000000',
  },
}
SCSS
$custom: #a0179b;
$custom-light: #c06ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#a0179b",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 155
  },
  "hsl": {
    "h": 302.19,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.2138,
    "h": 330
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#A0179B
secondary
#4CC750
accent
#F13D36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #A0179B

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

Preview Lab → · Contrast checker → · Palette generator →

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