#A1179B#A1179B

#A1179B is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.214 H 330.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A1179B
RGBrgb(161, 23, 155)
HSLhsl(303, 75%, 36%)
HSVhsv(303, 86%, 63%)
CMYKcmyk(0%, 85.7%, 3.7%, 36.9%)
CIE-LABlab(38.83, 65.57, -38.36)
CIE-LCHlch(38.83, 75.97, 329.67°)
OKLaboklab(50.14% 0.1861 -0.1061)
OKLCHoklch(50.14% 0.214 330.3)
XYZxyz(20.9207, 10.5582, 31.9401)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1179B #17A11D
analogous
#6217A1 #A1179B #A11756
triadic
#A1179B #9BA117 #179BA1
tetradic
#A1179B #A16217 #17A11D #1756A1
square
#A1179B #A16217 #17A11D #1756A1
split-complementary
#A1179B #56A117 #17A162
monochromatic
#360834 #6B0F67 #A1179B #D71FCF #E64DDF

Accessibility & contrast

On white

6.75
#A1179B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A1179B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1179B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1179B#FFFFFF#000000##FFFFFF
##A1179B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1179b;
/* rgb */ color: rgb(161, 23, 155);
/* oklch */ color: oklch(50.1% 0.214 330.3);
Tailwind
colors: {
  custom: {
    50: '#c16ab9',
    500: '#a1179b',
    950: '#000000',
  },
}
SCSS
$custom: #a1179b;
$custom-light: #c16ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#a1179b",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 155
  },
  "hsl": {
    "h": 302.609,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.21423,
    "h": 330.3
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#A1179B
secondary
#4CC752
accent
#F23E36
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #A1179B

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

Preview Lab → · Contrast checker → · Palette generator →

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