#A12E95#A12E95

#A12E95 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.189 H 332.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A12E95
RGBrgb(161, 46, 149)
HSLhsl(306, 56%, 41%)
HSVhsv(306, 71%, 63%)
CMYKcmyk(0%, 71.4%, 7.5%, 36.9%)
CIE-LABlab(40.74, 58.18, -31.70)
CIE-LCHlch(40.74, 66.26, 331.42°)
OKLaboklab(51.4% 0.1673 -0.087)
OKLCHoklch(51.4% 0.189 332.5)
XYZxyz(21.0998, 11.7027, 29.5755)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E95 #2EA13A
analogous
#732EA1 #A12E95 #A12E5B
triadic
#A12E95 #95A12E #2E95A1
tetradic
#A12E95 #A1732E #2EA13A #2E5BA1
square
#A12E95 #A1732E #2EA13A #2E5BA1
split-complementary
#A12E95 #5BA12E #2EA173
monochromatic
#42133D #712069 #A12E95 #C943BB #D773CC

Accessibility & contrast

On white

6.29
#A12E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A12E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E95
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E95#FFFFFF#000000##FFFFFF
##A12E951.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285698
Deuteranopia (green-blind)
#536692
Tritanopia (blue-blind)
#A83A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e95;
/* rgb */ color: rgb(161, 46, 149);
/* oklch */ color: oklch(51.4% 0.189 332.5);
Tailwind
colors: {
  custom: {
    50: '#c072b4',
    500: '#a12e95',
    950: '#000000',
  },
}
SCSS
$custom: #a12e95;
$custom-light: #c072b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e95",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 306.261,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51396,
    "c": 0.18859,
    "h": 332.5
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#A12E95
secondary
#6CBE75
accent
#DF5949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12E95

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

Preview Lab → · Contrast checker → · Palette generator →

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