#A12C94#A12C94

#A12C94 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.190 H 332.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A12C94
RGBrgb(161, 44, 148)
HSLhsl(307, 57%, 40%)
HSVhsv(307, 73%, 63%)
CMYKcmyk(0%, 72.7%, 8.1%, 36.9%)
CIE-LABlab(40.44, 58.73, -31.56)
CIE-LCHlch(40.44, 66.67, 331.74°)
OKLaboklab(51.16% 0.1693 -0.0866)
OKLCHoklch(51.16% 0.19 332.9)
XYZxyz(20.9440, 11.5183, 29.1314)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C94 #2CA139
analogous
#742CA1 #A12C94 #A12C59
triadic
#A12C94 #94A12C #2C94A1
tetradic
#A12C94 #A1742C #2CA139 #2C59A1
square
#A12C94 #A1742C #2CA139 #2C59A1
split-complementary
#A12C94 #59A12C #2CA174
monochromatic
#41123C #711F68 #A12C94 #CB40BB #D870CC

Accessibility & contrast

On white

6.36
#A12C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12C94
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C94#FFFFFF#000000##FFFFFF
##A12C941.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275597
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#A8385D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12c94;
/* rgb */ color: rgb(161, 44, 148);
/* oklch */ color: oklch(51.2% 0.190 332.9);
Tailwind
colors: {
  custom: {
    50: '#c071b4',
    500: '#a12c94',
    950: '#000000',
  },
}
SCSS
$custom: #a12c94;
$custom-light: #c071b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c94",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 306.667,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.19016,
    "h": 332.9
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#A12C94
secondary
#6ABF73
accent
#E05847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12C94

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

Preview Lab → · Contrast checker → · Palette generator →

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