#A12C97#A12C97

#A12C97 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 331.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A12C97
RGBrgb(161, 44, 151)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 73%, 63%)
CMYKcmyk(0%, 72.7%, 6.2%, 36.9%)
CIE-LABlab(40.60, 59.20, -33.13)
CIE-LCHlch(40.60, 67.84, 330.77°)
OKLaboklab(51.33% 0.1695 -0.0911)
OKLCHoklch(51.33% 0.192 331.7)
XYZxyz(21.1846, 11.6145, 30.3982)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C97 #2CA136
analogous
#702CA1 #A12C97 #A12C5D
triadic
#A12C97 #97A12C #2C97A1
tetradic
#A12C97 #A1702C #2CA136 #2C5DA1
square
#A12C97 #A1702C #2CA136 #2C5DA1
split-complementary
#A12C97 #5DA12C #2CA170
monochromatic
#41123D #711F6A #A12C97 #CB40BF #D870CF

Accessibility & contrast

On white

6.32
#A12C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C97
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C97#FFFFFF#000000##FFFFFF
##A12C971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#A8395E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12c97;
/* rgb */ color: rgb(161, 44, 151);
/* oklch */ color: oklch(51.3% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#c071b6',
    500: '#a12c97',
    950: '#000000',
  },
}
SCSS
$custom: #a12c97;
$custom-light: #c071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c97",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 305.128,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.19243,
    "h": 331.7
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#A12C97
secondary
#6ABF71
accent
#E05547
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12C97

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

Preview Lab → · Contrast checker → · Palette generator →

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