#A12C99#A12C99

#A12C99 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.194 H 331.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A12C99
RGBrgb(161, 44, 153)
HSLhsl(304, 57%, 40%)
HSVhsv(304, 73%, 63%)
CMYKcmyk(0%, 72.7%, 5%, 36.9%)
CIE-LABlab(40.70, 59.52, -34.18)
CIE-LCHlch(40.70, 68.64, 330.14°)
OKLaboklab(51.44% 0.1696 -0.0941)
OKLCHoklch(51.44% 0.194 331)
XYZxyz(21.3484, 11.6800, 31.2609)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C99 #2CA134
analogous
#6F2CA1 #A12C99 #A12C5E
triadic
#A12C99 #99A12C #2C99A1
tetradic
#A12C99 #A16F2C #2CA134 #2C5EA1
square
#A12C99 #A16F2C #2CA134 #2C5EA1
split-complementary
#A12C99 #5EA12C #2CA16F
monochromatic
#41123E #711F6B #A12C99 #CB40C1 #D870D1

Accessibility & contrast

On white

6.30
#A12C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A12C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C99
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C99#FFFFFF#000000##FFFFFF
##A12C991.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A73A60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12c99;
/* rgb */ color: rgb(161, 44, 153);
/* oklch */ color: oklch(51.4% 0.194 331.0);
Tailwind
colors: {
  custom: {
    50: '#c071b7',
    500: '#a12c99',
    950: '#000000',
  },
}
SCSS
$custom: #a12c99;
$custom-light: #c071b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c99",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 304.103,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.19395,
    "h": 331
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#A12C99
secondary
#6ABF70
accent
#E05247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12C99

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

Preview Lab → · Contrast checker → · Palette generator →

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