#A12E9E#A12E9E

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

Color values

HEX#A12E9E
RGBrgb(161, 46, 158)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 71%, 63%)
CMYKcmyk(0%, 71.4%, 1.9%, 36.9%)
CIE-LABlab(41.22, 59.65, -36.38)
CIE-LCHlch(41.22, 69.86, 328.62°)
OKLaboklab(51.9% 0.1677 -0.1005)
OKLCHoklch(51.9% 0.196 329.1)
XYZxyz(21.8463, 12.0013, 33.5070)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E9E #2EA131
analogous
#6A2EA1 #A12E9E #A12E64
triadic
#A12E9E #9EA12E #2E9EA1
tetradic
#A12E9E #A16A2E #2EA131 #2E64A1
square
#A12E9E #A16A2E #2EA131 #2E64A1
split-complementary
#A12E9E #64A12E #2EA16A
monochromatic
#421341 #71206F #A12E9E #C943C6 #D773D4

Accessibility & contrast

On white

6.18
#A12E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A12E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E9E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E9E#FFFFFF#000000##FFFFFF
##A12E9E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#4E679B
Tritanopia (blue-blind)
#A73E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12e9e;
/* rgb */ color: rgb(161, 46, 158);
/* oklch */ color: oklch(51.9% 0.196 329.1);
Tailwind
colors: {
  custom: {
    50: '#c072bb',
    500: '#a12e9e',
    950: '#000000',
  },
}
SCSS
$custom: #a12e9e;
$custom-light: #c072bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e9e",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 301.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.19554,
    "h": 329.1
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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