#A12A92#A12A92

#A12A92 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.191 H 333.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A12A92
RGBrgb(161, 42, 146)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 63%)
CMYKcmyk(0%, 73.9%, 9.3%, 36.9%)
CIE-LABlab(40.10, 59.09, -30.89)
CIE-LCHlch(40.10, 66.68, 332.41°)
OKLaboklab(50.88% 0.1712 -0.0846)
OKLCHoklch(50.88% 0.191 333.7)
XYZxyz(20.7144, 11.3101, 28.2807)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A92 #2AA139
analogous
#752AA1 #A12A92 #A12A57
triadic
#A12A92 #92A12A #2A92A1
tetradic
#A12A92 #A1752A #2AA139 #2A57A1
square
#A12A92 #A1752A #2AA139 #2A57A1
split-complementary
#A12A92 #57A12A #2AA175
monochromatic
#40113A #701D66 #A12A92 #CC3CBA #D96DCB

Accessibility & contrast

On white

6.44
#A12A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A12A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A92
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A92#FFFFFF#000000##FFFFFF
##A12A921.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#52658F
Tritanopia (blue-blind)
#A9355B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12a92;
/* rgb */ color: rgb(161, 42, 146);
/* oklch */ color: oklch(50.9% 0.191 333.7);
Tailwind
colors: {
  custom: {
    50: '#c070b2',
    500: '#a12a92',
    950: '#000000',
  },
}
SCSS
$custom: #a12a92;
$custom-light: #c070b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a92",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 307.563,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.19094,
    "h": 333.7
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#A12A92
secondary
#67C072
accent
#E25A46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A92

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

Preview Lab → · Contrast checker → · Palette generator →

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