#A12F99#A12F99

#A12F99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 331.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A12F99
RGBrgb(161, 47, 153)
HSLhsl(304, 55%, 41%)
HSVhsv(304, 71%, 63%)
CMYKcmyk(0%, 70.8%, 5%, 36.9%)
CIE-LABlab(41.08, 58.47, -33.59)
CIE-LCHlch(41.08, 67.43, 330.12°)
OKLaboklab(51.71% 0.1665 -0.0925)
OKLCHoklch(51.71% 0.19 331)
XYZxyz(21.4642, 11.9117, 31.2995)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F99 #2FA137
analogous
#702FA1 #A12F99 #A12F60
triadic
#A12F99 #99A12F #2F99A1
tetradic
#A12F99 #A1702F #2FA137 #2F60A1
square
#A12F99 #A1702F #2FA137 #2F60A1
split-complementary
#A12F99 #60A12F #2FA170
monochromatic
#42133F #72216C #A12F99 #C945BF #D674D0

Accessibility & contrast

On white

6.21
#A12F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A12F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F99
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F99#FFFFFF#000000##FFFFFF
##A12F991.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A73C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12f99;
/* rgb */ color: rgb(161, 47, 153);
/* oklch */ color: oklch(51.7% 0.190 331.0);
Tailwind
colors: {
  custom: {
    50: '#c072b7',
    500: '#a12f99',
    950: '#000000',
  },
}
SCSS
$custom: #a12f99;
$custom-light: #c072b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f99",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 304.211,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.19047,
    "h": 331
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#A12F99
secondary
#6EBE73
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A12F99

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

Preview Lab → · Contrast checker → · Palette generator →

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