#A12FA0#A12FA0

#A12FA0 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.196 H 328.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A12FA0
RGBrgb(161, 47, 160)
HSLhsl(301, 55%, 41%)
HSVhsv(301, 71%, 63%)
CMYKcmyk(0%, 70.8%, 0.6%, 36.9%)
CIE-LABlab(41.45, 59.63, -37.20)
CIE-LCHlch(41.45, 70.28, 328.04°)
OKLaboklab(52.1% 0.1668 -0.1029)
OKLCHoklch(52.1% 0.196 328.3)
XYZxyz(22.0594, 12.1497, 34.4342)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FA0 #2FA130
analogous
#692FA1 #A12FA0 #A12F67
triadic
#A12FA0 #A0A12F #2FA0A1
tetradic
#A12FA0 #A1692F #2FA130 #2F67A1
square
#A12FA0 #A1692F #2FA130 #2F67A1
split-complementary
#A12FA0 #67A12F #2FA169
monochromatic
#421342 #722171 #A12FA0 #C945C7 #D674D6

Accessibility & contrast

On white

6.12
#A12FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A12FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FA0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FA0#FFFFFF#000000##FFFFFF
##A12FA01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#A63F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12fa0;
/* rgb */ color: rgb(161, 47, 160);
/* oklch */ color: oklch(52.1% 0.196 328.3);
Tailwind
colors: {
  custom: {
    50: '#c073bc',
    500: '#a12fa0',
    950: '#000000',
  },
}
SCSS
$custom: #a12fa0;
$custom-light: #c073bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fa0",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 300.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.521,
    "c": 0.19597,
    "h": 328.3
  },
  "luminance": 0.12148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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