#A12C93#A12C93

#A12C93 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.189 H 333.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A12C93
RGBrgb(161, 44, 147)
HSLhsl(307, 57%, 40%)
HSVhsv(307, 73%, 63%)
CMYKcmyk(0%, 72.7%, 8.7%, 36.9%)
CIE-LABlab(40.39, 58.57, -31.04)
CIE-LCHlch(40.39, 66.28, 332.08°)
OKLaboklab(51.11% 0.1692 -0.0851)
OKLCHoklch(51.11% 0.189 333.3)
XYZxyz(20.8652, 11.4868, 28.7164)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C93 #2CA13A
analogous
#742CA1 #A12C93 #A12C59
triadic
#A12C93 #93A12C #2C93A1
tetradic
#A12C93 #A1742C #2CA13A #2C59A1
square
#A12C93 #A1742C #2CA13A #2C59A1
split-complementary
#A12C93 #59A12C #2CA174
monochromatic
#41123B #711F67 #A12C93 #CB40BA #D870CB

Accessibility & contrast

On white

6.37
#A12C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A12C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C93
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C93#FFFFFF#000000##FFFFFF
##A12C931.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#536590
Tritanopia (blue-blind)
#A8375C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12c93;
/* rgb */ color: rgb(161, 44, 147);
/* oklch */ color: oklch(51.1% 0.189 333.3);
Tailwind
colors: {
  custom: {
    50: '#c071b3',
    500: '#a12c93',
    950: '#000000',
  },
}
SCSS
$custom: #a12c93;
$custom-light: #c071b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c93",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 307.179,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.18942,
    "h": 333.3
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#A12C93
secondary
#6ABF74
accent
#E05A47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12C93

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

Preview Lab → · Contrast checker → · Palette generator →

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