#A12FA3#A12FA3

#A12FA3 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.3% C 0.198 H 327.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A12FA3
RGBrgb(161, 47, 163)
HSLhsl(299, 55%, 41%)
HSVhsv(299, 71%, 64%)
CMYKcmyk(1.2%, 71.2%, 0%, 36.1%)
CIE-LABlab(41.62, 60.14, -38.74)
CIE-LCHlch(41.62, 71.53, 327.21°)
OKLaboklab(52.27% 0.1668 -0.1074)
OKLCHoklch(52.27% 0.198 327.2)
XYZxyz(22.3250, 12.2560, 35.8330)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FA3 #31A32F
analogous
#672FA3 #A12FA3 #A32F6B
triadic
#A12FA3 #A3A12F #2FA3A1
tetradic
#A12FA3 #A3672F #31A32F #2F6BA3
square
#A12FA3 #A3672F #31A32F #2F6BA3
split-complementary
#A12FA3 #6BA32F #2FA367
monochromatic
#431444 #722173 #A12FA3 #C746CA #D675D7

Accessibility & contrast

On white

6.09
#A12FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A12FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FA3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FA3#FFFFFF#000000##FFFFFF
##A12FA31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#A64166
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12fa3;
/* rgb */ color: rgb(161, 47, 163);
/* oklch */ color: oklch(52.3% 0.198 327.2);
Tailwind
colors: {
  custom: {
    50: '#c073bf',
    500: '#a12fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a12fa3;
$custom-light: #c073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fa3",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 298.966,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52274,
    "c": 0.19838,
    "h": 327.2
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#A12FA3
secondary
#70BF6F
accent
#DF494C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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