#A12A94#A12A94

#A12A94 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.192 H 332.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A12A94
RGBrgb(161, 42, 148)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 63%)
CMYKcmyk(0%, 73.9%, 8.1%, 36.9%)
CIE-LABlab(40.20, 59.40, -31.94)
CIE-LCHlch(40.20, 67.45, 331.74°)
OKLaboklab(50.99% 0.1713 -0.0877)
OKLCHoklch(50.99% 0.192 332.9)
XYZxyz(20.8713, 11.3729, 29.1072)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A94 #2AA137
analogous
#732AA1 #A12A94 #A12A58
triadic
#A12A94 #94A12A #2A94A1
tetradic
#A12A94 #A1732A #2AA137 #2A58A1
square
#A12A94 #A1732A #2AA137 #2A58A1
split-complementary
#A12A94 #58A12A #2AA173
monochromatic
#40113B #701D67 #A12A94 #CC3CBC #D96DCD

Accessibility & contrast

On white

6.41
#A12A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A12A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A94
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A94#FFFFFF#000000##FFFFFF
##A12A941.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12a94;
/* rgb */ color: rgb(161, 42, 148);
/* oklch */ color: oklch(51.0% 0.192 332.9);
Tailwind
colors: {
  custom: {
    50: '#c070b4',
    500: '#a12a94',
    950: '#000000',
  },
}
SCSS
$custom: #a12a94;
$custom-light: #c070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a94",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 306.555,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.19241,
    "h": 332.9
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#A12A94
secondary
#67C071
accent
#E25746
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A94

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

Preview Lab → · Contrast checker → · Palette generator →

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