#A12E8F#A12E8F

#A12E8F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.184 H 335.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A12E8F
RGBrgb(161, 46, 143)
HSLhsl(309, 56%, 41%)
HSVhsv(309, 71%, 63%)
CMYKcmyk(0%, 71.4%, 11.2%, 36.9%)
CIE-LABlab(40.44, 57.24, -28.53)
CIE-LCHlch(40.44, 63.96, 333.51°)
OKLaboklab(51.08% 0.1668 -0.0779)
OKLCHoklch(51.08% 0.184 335)
XYZxyz(20.6331, 11.5160, 27.1174)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E8F #2EA140
analogous
#792EA1 #A12E8F #A12E55
triadic
#A12E8F #8FA12E #2E8FA1
tetradic
#A12E8F #A1792E #2EA140 #2E55A1
square
#A12E8F #A1792E #2EA140 #2E55A1
split-complementary
#A12E8F #55A12E #2EA179
monochromatic
#42133A #712065 #A12E8F #C943B4 #D773C7

Accessibility & contrast

On white

6.36
#A12E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E8F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E8F#FFFFFF#000000##FFFFFF
##A12E8F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#A9375B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12e8f;
/* rgb */ color: rgb(161, 46, 143);
/* oklch */ color: oklch(51.1% 0.184 335.0);
Tailwind
colors: {
  custom: {
    50: '#c071b0',
    500: '#a12e8f',
    950: '#000000',
  },
}
SCSS
$custom: #a12e8f;
$custom-light: #c071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e8f",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 309.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.1841,
    "h": 335
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#A12E8F
secondary
#6CBE79
accent
#DF6049
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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