#A12D91#A12D91

#A12D91 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.187 H 334.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A12D91
RGBrgb(161, 45, 145)
HSLhsl(308, 56%, 40%)
HSVhsv(308, 72%, 63%)
CMYKcmyk(0%, 72%, 9.9%, 36.9%)
CIE-LABlab(40.41, 57.91, -29.79)
CIE-LCHlch(40.41, 65.12, 332.78°)
OKLaboklab(51.09% 0.1681 -0.0815)
OKLCHoklch(51.09% 0.187 334.1)
XYZxyz(20.7473, 11.4999, 27.9096)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D91 #2DA13D
analogous
#772DA1 #A12D91 #A12D57
triadic
#A12D91 #91A12D #2D91A1
tetradic
#A12D91 #A1772D #2DA13D #2D57A1
square
#A12D91 #A1772D #2DA13D #2D57A1
split-complementary
#A12D91 #57A12D #2DA177
monochromatic
#41123B #712066 #A12D91 #CA41B7 #D771C9

Accessibility & contrast

On white

6.36
#A12D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A12D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D91
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D91#FFFFFF#000000##FFFFFF
##A12D911.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5494
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#A9375C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12d91;
/* rgb */ color: rgb(161, 45, 145);
/* oklch */ color: oklch(51.1% 0.187 334.1);
Tailwind
colors: {
  custom: {
    50: '#c071b1',
    500: '#a12d91',
    950: '#000000',
  },
}
SCSS
$custom: #a12d91;
$custom-light: #c071b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d91",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 308.276,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.18677,
    "h": 334.1
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#A12D91
secondary
#6BBF77
accent
#E05D48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12D91

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

Preview Lab → · Contrast checker → · Palette generator →

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