#A12FB3#A12FB3

#A12FB3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.212 H 321.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A12FB3
RGBrgb(161, 47, 179)
HSLhsl(292, 58%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(10.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(42.56, 62.95, -46.75)
CIE-LCHlch(42.56, 78.41, 323.40°)
OKLaboklab(53.25% 0.1663 -0.1307)
OKLCHoklch(53.25% 0.212 321.8)
XYZxyz(23.8503, 12.8661, 43.8662)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB3 #41B32F
analogous
#5F2FB3 #A12FB3 #B32F83
triadic
#A12FB3 #B3A12F #2FB3A1
tetradic
#A12FB3 #B35F2F #41B32F #2F83B3
square
#A12FB3 #B35F2F #41B32F #2F83B3
split-complementary
#A12FB3 #83B32F #2FB35F
monochromatic
#4A1652 #752283 #A12FB3 #BF4FD1 #D17FDD

Accessibility & contrast

On white

5.88
#A12FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A12FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FB3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FB3#FFFFFF#000000##FFFFFF
##A12FB31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#A3486F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fb3;
/* rgb */ color: rgb(161, 47, 179);
/* oklch */ color: oklch(53.2% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a12fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb3;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb3",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 291.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.21151,
    "h": 321.8
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#A12FB3
secondary
#82C678
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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