#A1179C#A1179C

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

Color values

HEX#A1179C
RGBrgb(161, 23, 156)
HSLhsl(302, 75%, 36%)
HSVhsv(302, 86%, 63%)
CMYKcmyk(0%, 85.7%, 3.1%, 36.9%)
CIE-LABlab(38.88, 65.72, -38.87)
CIE-LCHlch(38.88, 76.36, 329.40°)
OKLaboklab(50.2% 0.1861 -0.1076)
OKLCHoklch(50.2% 0.215 330)
XYZxyz(21.0050, 10.5919, 32.3842)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1179C #17A11C
analogous
#6117A1 #A1179C #A11757
triadic
#A1179C #9CA117 #179CA1
tetradic
#A1179C #A16117 #17A11C #1757A1
square
#A1179C #A16117 #17A11C #1757A1
split-complementary
#A1179C #57A117 #17A161
monochromatic
#360834 #6B0F68 #A1179C #D71FD0 #E64DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1179C#FFFFFF#000000##FFFFFF
##A1179C1.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)
#00509F
Deuteranopia (green-blind)
#476299
Tritanopia (blue-blind)
#A7305D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1179c;
/* rgb */ color: rgb(161, 23, 156);
/* oklch */ color: oklch(50.2% 0.215 330.0);
Tailwind
colors: {
  custom: {
    50: '#c16aba',
    500: '#a1179c',
    950: '#000000',
  },
}
SCSS
$custom: #a1179c;
$custom-light: #c16aba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1179c",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 156
  },
  "hsl": {
    "h": 302.174,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.21494,
    "h": 330
  },
  "luminance": 0.1059
}

Semantic roles & 50–950 ramp

primary
#A1179C
secondary
#4CC751
accent
#F23D36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A1179C

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

Preview Lab → · Contrast checker → · Palette generator →

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