#A1198E#A1198E

#A1198E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.204 H 335.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A1198E
RGBrgb(161, 25, 142)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 63%)
CMYKcmyk(0%, 84.5%, 11.8%, 36.9%)
CIE-LABlab(38.25, 63.22, -31.36)
CIE-LCHlch(38.25, 70.57, 333.62°)
OKLaboklab(49.49% 0.1849 -0.0859)
OKLCHoklch(49.49% 0.204 335.1)
XYZxyz(19.9284, 10.2272, 26.5104)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1198E #19A12C
analogous
#7019A1 #A1198E #A1194A
triadic
#A1198E #8EA119 #198EA1
tetradic
#A1198E #A17019 #19A12C #194AA1
square
#A1198E #A17019 #19A12C #194AA1
split-complementary
#A1198E #4AA119 #19A170
monochromatic
#370931 #6C115F #A1198E #D621BD #E450CF

Accessibility & contrast

On white

6.90
#A1198E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1198E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1198E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1198E#FFFFFF#000000##FFFFFF
##A1198E1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A92855
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1198e;
/* rgb */ color: rgb(161, 25, 142);
/* oklch */ color: oklch(49.5% 0.204 335.1);
Tailwind
colors: {
  custom: {
    50: '#c16aaf',
    500: '#a1198e',
    950: '#000000',
  },
}
SCSS
$custom: #a1198e;
$custom-light: #c16aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1198e",
  "rgb": {
    "r": 161,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 308.382,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.20385,
    "h": 335.1
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#A1198E
secondary
#4FC660
accent
#F05238
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1198E

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

Preview Lab → · Contrast checker → · Palette generator →

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