#A12A93#A12A93

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

Color values

HEX#A12A93
RGBrgb(161, 42, 147)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 74%, 63%)
CMYKcmyk(0%, 73.9%, 8.7%, 36.9%)
CIE-LABlab(40.15, 59.25, -31.41)
CIE-LCHlch(40.15, 67.06, 332.07°)
OKLaboklab(50.94% 0.1712 -0.0862)
OKLCHoklch(50.94% 0.192 333.3)
XYZxyz(20.7925, 11.3413, 28.6921)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A93 #2AA138
analogous
#742AA1 #A12A93 #A12A57
triadic
#A12A93 #93A12A #2A93A1
tetradic
#A12A93 #A1742A #2AA138 #2A57A1
square
#A12A93 #A1742A #2AA138 #2A57A1
split-complementary
#A12A93 #57A12A #2AA174
monochromatic
#40113A #701D67 #A12A93 #CC3CBB #D96DCC

Accessibility & contrast

On white

6.43
#A12A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12A93
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A93#FFFFFF#000000##FFFFFF
##A12A931.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12a93;
/* rgb */ color: rgb(161, 42, 147);
/* oklch */ color: oklch(50.9% 0.192 333.3);
Tailwind
colors: {
  custom: {
    50: '#c070b3',
    500: '#a12a93',
    950: '#000000',
  },
}
SCSS
$custom: #a12a93;
$custom-light: #c070b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a93",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 307.059,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.19168,
    "h": 333.3
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12A93

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

Preview Lab → · Contrast checker → · Palette generator →

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