#A12E9F#A12E9F

#A12E9F is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.196 H 328.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A12E9F
RGBrgb(161, 46, 159)
HSLhsl(301, 56%, 41%)
HSVhsv(301, 71%, 63%)
CMYKcmyk(0%, 71.4%, 1.2%, 36.9%)
CIE-LABlab(41.27, 59.81, -36.89)
CIE-LCHlch(41.27, 70.28, 328.34°)
OKLaboklab(51.95% 0.1678 -0.102)
OKLCHoklch(51.95% 0.196 328.7)
XYZxyz(21.9327, 12.0359, 33.9621)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E9F #2EA130
analogous
#692EA1 #A12E9F #A12E66
triadic
#A12E9F #9FA12E #2E9FA1
tetradic
#A12E9F #A1692E #2EA130 #2E66A1
square
#A12E9F #A1692E #2EA130 #2E66A1
split-complementary
#A12E9F #66A12E #2EA169
monochromatic
#421341 #712070 #A12E9F #C943C7 #D773D5

Accessibility & contrast

On white

6.16
#A12E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A12E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E9F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E9F#FFFFFF#000000##FFFFFF
##A12E9F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#A63E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12e9f;
/* rgb */ color: rgb(161, 46, 159);
/* oklch */ color: oklch(52.0% 0.196 328.7);
Tailwind
colors: {
  custom: {
    50: '#c072bc',
    500: '#a12e9f',
    950: '#000000',
  },
}
SCSS
$custom: #a12e9f;
$custom-light: #c072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e9f",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 301.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51953,
    "c": 0.19634,
    "h": 328.7
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#A12E9F
secondary
#6CBE6E
accent
#DF4C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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