#A12E8E#A12E8E

#A12E8E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.183 H 335.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A12E8E
RGBrgb(161, 46, 142)
HSLhsl(310, 56%, 41%)
HSVhsv(310, 71%, 63%)
CMYKcmyk(0%, 71.4%, 11.8%, 36.9%)
CIE-LABlab(40.39, 57.09, -28.00)
CIE-LCHlch(40.39, 63.58, 333.88°)
OKLaboklab(51.03% 0.1667 -0.0764)
OKLCHoklch(51.03% 0.183 335.4)
XYZxyz(20.5577, 11.4858, 26.7202)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E8E #2EA141
analogous
#7A2EA1 #A12E8E #A12E54
triadic
#A12E8E #8EA12E #2E8EA1
tetradic
#A12E8E #A17A2E #2EA141 #2E54A1
square
#A12E8E #A17A2E #2EA141 #2E54A1
split-complementary
#A12E8E #54A12E #2EA17A
monochromatic
#42133A #712064 #A12E8E #C943B3 #D773C6

Accessibility & contrast

On white

6.37
#A12E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E8E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E8E#FFFFFF#000000##FFFFFF
##A12E8E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#A9365A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12e8e;
/* rgb */ color: rgb(161, 46, 142);
/* oklch */ color: oklch(51.0% 0.183 335.4);
Tailwind
colors: {
  custom: {
    50: '#c071af',
    500: '#a12e8e',
    950: '#000000',
  },
}
SCSS
$custom: #a12e8e;
$custom-light: #c071af;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e8e",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 309.913,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.18337,
    "h": 335.4
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#A12E8E
secondary
#6CBE7A
accent
#DF6249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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