#A12F91#A12F91

#A12F91 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.3% C 0.184 H 334.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A12F91
RGBrgb(161, 47, 145)
HSLhsl(308, 55%, 41%)
HSVhsv(308, 71%, 63%)
CMYKcmyk(0%, 70.8%, 9.9%, 36.9%)
CIE-LABlab(40.66, 57.19, -29.39)
CIE-LCHlch(40.66, 64.30, 332.80°)
OKLaboklab(51.28% 0.1659 -0.0804)
OKLCHoklch(51.28% 0.184 334.2)
XYZxyz(20.8255, 11.6562, 27.9356)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F91 #2FA13F
analogous
#782FA1 #A12F91 #A12F58
triadic
#A12F91 #91A12F #2F91A1
tetradic
#A12F91 #A1782F #2FA13F #2F58A1
square
#A12F91 #A1782F #2FA13F #2F58A1
split-complementary
#A12F91 #58A12F #2FA178
monochromatic
#42133C #722166 #A12F91 #C945B6 #D674C9

Accessibility & contrast

On white

6.30
#A12F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A12F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F91
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F91#FFFFFF#000000##FFFFFF
##A12F911.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#A9395C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12f91;
/* rgb */ color: rgb(161, 47, 145);
/* oklch */ color: oklch(51.3% 0.184 334.2);
Tailwind
colors: {
  custom: {
    50: '#c072b1',
    500: '#a12f91',
    950: '#000000',
  },
}
SCSS
$custom: #a12f91;
$custom-light: #c072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f91",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 308.421,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.18438,
    "h": 334.2
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#A12F91
secondary
#6EBE79
accent
#DE5E4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #A12F91

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

Preview Lab → · Contrast checker → · Palette generator →

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