#A12A91#A12A91

#A12A91 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.190 H 334.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A12A91
RGBrgb(161, 42, 145)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 63%)
CMYKcmyk(0%, 73.9%, 9.9%, 36.9%)
CIE-LABlab(40.05, 58.94, -30.36)
CIE-LCHlch(40.05, 66.30, 332.75°)
OKLaboklab(50.83% 0.1711 -0.0831)
OKLCHoklch(50.83% 0.19 334.1)
XYZxyz(20.6369, 11.2791, 27.8728)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A91 #2AA13A
analogous
#752AA1 #A12A91 #A12A56
triadic
#A12A91 #91A12A #2A91A1
tetradic
#A12A91 #A1752A #2AA13A #2A56A1
square
#A12A91 #A1752A #2AA13A #2A56A1
split-complementary
#A12A91 #56A12A #2AA175
monochromatic
#40113A #701D65 #A12A91 #CC3CB9 #D96DCA

Accessibility & contrast

On white

6.45
#A12A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12A91
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A91#FFFFFF#000000##FFFFFF
##A12A911.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275394
Deuteranopia (green-blind)
#53658E
Tritanopia (blue-blind)
#A9355B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12a91;
/* rgb */ color: rgb(161, 42, 145);
/* oklch */ color: oklch(50.8% 0.190 334.1);
Tailwind
colors: {
  custom: {
    50: '#c070b1',
    500: '#a12a91',
    950: '#000000',
  },
}
SCSS
$custom: #a12a91;
$custom-light: #c070b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a91",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 308.067,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.1902,
    "h": 334.1
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#A12A91
secondary
#67C073
accent
#E25B46
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A91

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

Preview Lab → · Contrast checker → · Palette generator →

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