#A1179E#A1179E

#A1179E is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.216 H 329.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A1179E
RGBrgb(161, 23, 158)
HSLhsl(301, 75%, 36%)
HSVhsv(301, 86%, 63%)
CMYKcmyk(0%, 85.7%, 1.9%, 36.9%)
CIE-LABlab(39.00, 66.03, -39.90)
CIE-LCHlch(39.00, 77.15, 328.86°)
OKLaboklab(50.32% 0.186 -0.1106)
OKLCHoklch(50.32% 0.216 329.3)
XYZxyz(21.1757, 10.6602, 33.2835)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1179E #17A11A
analogous
#5F17A1 #A1179E #A11759
triadic
#A1179E #9EA117 #179EA1
tetradic
#A1179E #A15F17 #17A11A #1759A1
square
#A1179E #A15F17 #17A11A #1759A1
split-complementary
#A1179E #59A117 #17A15F
monochromatic
#360835 #6B0F69 #A1179E #D71FD3 #E64DE2

Accessibility & contrast

On white

6.71
#A1179E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A1179E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1179E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1179E#FFFFFF#000000##FFFFFF
##A1179E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#A7315E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1179e;
/* rgb */ color: rgb(161, 23, 158);
/* oklch */ color: oklch(50.3% 0.216 329.3);
Tailwind
colors: {
  custom: {
    50: '#c16abb',
    500: '#a1179e',
    950: '#000000',
  },
}
SCSS
$custom: #a1179e;
$custom-light: #c16abb;
$custom-dark: #000000;
JSON
{
  "hex": "#a1179e",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 301.304,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50316,
    "c": 0.21636,
    "h": 329.3
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#A1179E
secondary
#4CC74F
accent
#F23A36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #A1179E

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

Preview Lab → · Contrast checker → · Palette generator →

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