#A1178E#A1178E

#A1178E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.205 H 335.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A1178E
RGBrgb(161, 23, 142)
HSLhsl(308, 75%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 85.7%, 11.8%, 36.9%)
CIE-LABlab(38.10, 63.64, -31.59)
CIE-LCHlch(38.10, 71.05, 333.60°)
OKLaboklab(49.39% 0.1861 -0.0865)
OKLCHoklch(49.39% 0.205 335.1)
XYZxyz(19.8871, 10.1447, 26.4967)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1178E #17A12A
analogous
#6F17A1 #A1178E #A11749
triadic
#A1178E #8EA117 #178EA1
tetradic
#A1178E #A16F17 #17A12A #1749A1
square
#A1178E #A16F17 #17A12A #1749A1
split-complementary
#A1178E #49A117 #17A16F
monochromatic
#360830 #6B0F5F #A1178E #D71FBD #E64DD1

Accessibility & contrast

On white

6.93
#A1178E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1178E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1178E#FFFFFF#000000##FFFFFF
##A1178E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#4E618B
Tritanopia (blue-blind)
#A92755
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1178e;
/* rgb */ color: rgb(161, 23, 142);
/* oklch */ color: oklch(49.4% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#c169af',
    500: '#a1178e',
    950: '#000000',
  },
}
SCSS
$custom: #a1178e;
$custom-light: #c169af;
$custom-dark: #000000;
JSON
{
  "hex": "#a1178e",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 308.261,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49385,
    "c": 0.20527,
    "h": 335.1
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#A1178E
secondary
#4CC75D
accent
#F25036
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1178E

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

Preview Lab → · Contrast checker → · Palette generator →

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