#A1168E#A1168E

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

Color values

HEX#A1168E
RGBrgb(161, 22, 142)
HSLhsl(308, 76%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 86.3%, 11.8%, 36.9%)
CIE-LABlab(38.03, 63.84, -31.70)
CIE-LCHlch(38.03, 71.28, 333.60°)
OKLaboklab(49.34% 0.1867 -0.0868)
OKLCHoklch(49.34% 0.206 335.1)
XYZxyz(19.8676, 10.1058, 26.4902)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1168E #16A129
analogous
#6E16A1 #A1168E #A11649
triadic
#A1168E #8EA116 #168EA1
tetradic
#A1168E #A16E16 #16A129 #1649A1
square
#A1168E #A16E16 #16A129 #1649A1
split-complementary
#A1168E #49A116 #16A16E
monochromatic
#35072F #6B0F5F #A1168E #D71DBD #E64BD1

Accessibility & contrast

On white

6.95
#A1168E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A1168E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1168E
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1168E#FFFFFF#000000##FFFFFF
##A1168E1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#A92654
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1168e;
/* rgb */ color: rgb(161, 22, 142);
/* oklch */ color: oklch(49.3% 0.206 335.1);
Tailwind
colors: {
  custom: {
    50: '#c169af',
    500: '#a1168e',
    950: '#000000',
  },
}
SCSS
$custom: #a1168e;
$custom-light: #c169af;
$custom-dark: #000000;
JSON
{
  "hex": "#a1168e",
  "rgb": {
    "r": 161,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 308.201,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.20595,
    "h": 335.1
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#A1168E
secondary
#4BC85C
accent
#F34F35
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1168E

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

Preview Lab → · Contrast checker → · Palette generator →

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