#A12D95#A12D95

#A12D95 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.190 H 332.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A12D95
RGBrgb(161, 45, 149)
HSLhsl(306, 56%, 40%)
HSVhsv(306, 72%, 63%)
CMYKcmyk(0%, 72%, 7.5%, 36.9%)
CIE-LABlab(40.61, 58.54, -31.89)
CIE-LCHlch(40.61, 66.66, 331.42°)
OKLaboklab(51.31% 0.1684 -0.0876)
OKLCHoklch(51.31% 0.19 332.5)
XYZxyz(21.0612, 11.6255, 29.5626)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D95 #2DA139
analogous
#732DA1 #A12D95 #A12D5B
triadic
#A12D95 #95A12D #2D95A1
tetradic
#A12D95 #A1732D #2DA139 #2D5BA1
square
#A12D95 #A1732D #2DA139 #2D5BA1
split-complementary
#A12D95 #5BA12D #2DA173
monochromatic
#41123C #712069 #A12D95 #CA41BC #D771CD

Accessibility & contrast

On white

6.32
#A12D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D95
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D95#FFFFFF#000000##FFFFFF
##A12D951.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275598
Deuteranopia (green-blind)
#526692
Tritanopia (blue-blind)
#A8395E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12d95;
/* rgb */ color: rgb(161, 45, 149);
/* oklch */ color: oklch(51.3% 0.190 332.5);
Tailwind
colors: {
  custom: {
    50: '#c071b4',
    500: '#a12d95',
    950: '#000000',
  },
}
SCSS
$custom: #a12d95;
$custom-light: #c071b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d95",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 306.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.18976,
    "h": 332.5
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#A12D95
secondary
#6BBF74
accent
#E05848
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12D95

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

Preview Lab → · Contrast checker → · Palette generator →

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