#A1178F#A1178F

#A1178F is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.206 H 334.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A1178F
RGBrgb(161, 23, 143)
HSLhsl(308, 75%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 85.7%, 11.2%, 36.9%)
CIE-LABlab(38.15, 63.78, -32.12)
CIE-LCHlch(38.15, 71.41, 333.27°)
OKLaboklab(49.44% 0.1862 -0.0881)
OKLCHoklch(49.44% 0.206 334.7)
XYZxyz(19.9625, 10.1749, 26.8939)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1178F #17A129
analogous
#6E17A1 #A1178F #A1174A
triadic
#A1178F #8FA117 #178FA1
tetradic
#A1178F #A16E17 #17A129 #174AA1
square
#A1178F #A16E17 #17A129 #174AA1
split-complementary
#A1178F #4AA117 #17A16E
monochromatic
#360830 #6B0F5F #A1178F #D71FBF #E64DD2

Accessibility & contrast

On white

6.92
#A1178F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A1178F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1178F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1178F#FFFFFF#000000##FFFFFF
##A1178F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A92755
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1178f;
/* rgb */ color: rgb(161, 23, 143);
/* oklch */ color: oklch(49.4% 0.206 334.7);
Tailwind
colors: {
  custom: {
    50: '#c169b0',
    500: '#a1178f',
    950: '#000000',
  },
}
SCSS
$custom: #a1178f;
$custom-light: #c169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1178f",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 307.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.20595,
    "h": 334.7
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#A1178F
secondary
#4CC75C
accent
#F24F36
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1178F

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

Preview Lab → · Contrast checker → · Palette generator →

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