#A0179F#A0179F

#A0179F is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.217 H 328.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A0179F
RGBrgb(160, 23, 159)
HSLhsl(300, 75%, 36%)
HSVhsv(300, 86%, 63%)
CMYKcmyk(0%, 85.6%, 0.6%, 37.3%)
CIE-LABlab(38.88, 66.00, -40.70)
CIE-LCHlch(38.88, 77.54, 328.34°)
OKLaboklab(50.22% 0.1849 -0.113)
OKLCHoklch(50.22% 0.217 328.6)
XYZxyz(21.0614, 10.5912, 33.7292)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0179F #17A018
analogous
#5C17A0 #A0179F #A0175A
triadic
#A0179F #9FA017 #179FA0
tetradic
#A0179F #A05C17 #17A018 #175AA0
square
#A0179F #A05C17 #17A018 #175AA0
split-complementary
#A0179F #5AA017 #17A05C
monochromatic
#350835 #6A0F6A #A0179F #D61FD4 #E54CE4

Accessibility & contrast

On white

6.74
#A0179F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A0179F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0179F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0179F#FFFFFF#000000##FFFFFF
##A0179F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#44619C
Tritanopia (blue-blind)
#A5325E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a0179f;
/* rgb */ color: rgb(160, 23, 159);
/* oklch */ color: oklch(50.2% 0.217 328.6);
Tailwind
colors: {
  custom: {
    50: '#c06abc',
    500: '#a0179f',
    950: '#000000',
  },
}
SCSS
$custom: #a0179f;
$custom-light: #c06abc;
$custom-dark: #000000;
JSON
{
  "hex": "#a0179f",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 300.438,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.21665,
    "h": 328.6
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#A0179F
secondary
#4CC74D
accent
#F13836
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A0179F

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

Preview Lab → · Contrast checker → · Palette generator →

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