#A12A95#A12A95

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

Color values

HEX#A12A95
RGBrgb(161, 42, 149)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 74%, 63%)
CMYKcmyk(0%, 73.9%, 7.5%, 36.9%)
CIE-LABlab(40.25, 59.56, -32.46)
CIE-LCHlch(40.25, 67.83, 331.41°)
OKLaboklab(51.05% 0.1713 -0.0892)
OKLCHoklch(51.05% 0.193 332.5)
XYZxyz(20.9508, 11.4047, 29.5258)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A95 #2AA136
analogous
#712AA1 #A12A95 #A12A5A
triadic
#A12A95 #95A12A #2A95A1
tetradic
#A12A95 #A1712A #2AA136 #2A5AA1
square
#A12A95 #A1712A #2AA136 #2A5AA1
split-complementary
#A12A95 #5AA12A #2AA171
monochromatic
#40113B #701D68 #A12A95 #CC3CBE #D96DCE

Accessibility & contrast

On white

6.40
#A12A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A12A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A95
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A95#FFFFFF#000000##FFFFFF
##A12A951.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235498
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A8375D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12a95;
/* rgb */ color: rgb(161, 42, 149);
/* oklch */ color: oklch(51.0% 0.193 332.5);
Tailwind
colors: {
  custom: {
    50: '#c070b4',
    500: '#a12a95',
    950: '#000000',
  },
}
SCSS
$custom: #a12a95;
$custom-light: #c070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a95",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 306.05,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.19316,
    "h": 332.5
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#A12A95
secondary
#67C070
accent
#E25646
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A95

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

Preview Lab → · Contrast checker → · Palette generator →

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