#A12E9D#A12E9D

#A12E9D is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.195 H 329.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A12E9D
RGBrgb(161, 46, 157)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 71%, 63%)
CMYKcmyk(0%, 71.4%, 2.5%, 36.9%)
CIE-LABlab(41.16, 59.48, -35.86)
CIE-LCHlch(41.16, 69.46, 328.92°)
OKLaboklab(51.84% 0.1677 -0.099)
OKLCHoklch(51.84% 0.195 329.4)
XYZxyz(21.7606, 11.9670, 33.0555)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E9D #2EA132
analogous
#6B2EA1 #A12E9D #A12E63
triadic
#A12E9D #9DA12E #2E9DA1
tetradic
#A12E9D #A16B2E #2EA132 #2E63A1
square
#A12E9D #A16B2E #2EA132 #2E63A1
split-complementary
#A12E9D #63A12E #2EA16B
monochromatic
#421340 #71206F #A12E9D #C943C5 #D773D3

Accessibility & contrast

On white

6.19
#A12E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A12E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E9D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E9D#FFFFFF#000000##FFFFFF
##A12E9D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#4F669A
Tritanopia (blue-blind)
#A73D62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12e9d;
/* rgb */ color: rgb(161, 46, 157);
/* oklch */ color: oklch(51.8% 0.195 329.4);
Tailwind
colors: {
  custom: {
    50: '#c072ba',
    500: '#a12e9d',
    950: '#000000',
  },
}
SCSS
$custom: #a12e9d;
$custom-light: #c072ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e9d",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 302.087,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.19477,
    "h": 329.4
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#A12E9D
secondary
#6CBE6F
accent
#DF4E49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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