#A12FA1#A12FA1

#A12FA1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.197 H 327.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A12FA1
RGBrgb(161, 47, 161)
HSLhsl(300, 55%, 41%)
HSVhsv(300, 71%, 63%)
CMYKcmyk(0%, 70.8%, 0%, 36.9%)
CIE-LABlab(41.51, 59.80, -37.72)
CIE-LCHlch(41.51, 70.70, 327.76°)
OKLaboklab(52.16% 0.1668 -0.1044)
OKLCHoklch(52.16% 0.197 327.9)
XYZxyz(22.1472, 12.1849, 34.8967)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FA1 #2FA12F
analogous
#682FA1 #A12FA1 #A12F68
triadic
#A12FA1 #A1A12F #2FA1A1
tetradic
#A12FA1 #A1682F #2FA12F #2F68A1
square
#A12FA1 #A1682F #2FA12F #2F68A1
split-complementary
#A12FA1 #68A12F #2FA168
monochromatic
#421342 #722172 #A12FA1 #C945C9 #D674D6

Accessibility & contrast

On white

6.11
#A12FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A12FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FA1
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FA1#FFFFFF#000000##FFFFFF
##A12FA11.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#A64065
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12fa1;
/* rgb */ color: rgb(161, 47, 161);
/* oklch */ color: oklch(52.2% 0.197 327.9);
Tailwind
colors: {
  custom: {
    50: '#c073bd',
    500: '#a12fa1',
    950: '#000000',
  },
}
SCSS
$custom: #a12fa1;
$custom-light: #c073bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fa1",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.19677,
    "h": 327.9
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#A12FA1
secondary
#6EBE6E
accent
#DE4A4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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