#A12FB1#A12FB1

#A12FB1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.210 H 322.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A12FB1
RGBrgb(161, 47, 177)
HSLhsl(293, 58%, 44%)
HSVhsv(293, 73%, 69%)
CMYKcmyk(9%, 73.4%, 0%, 30.6%)
CIE-LABlab(42.44, 62.59, -45.76)
CIE-LCHlch(42.44, 77.54, 323.83°)
OKLaboklab(53.12% 0.1664 -0.1279)
OKLCHoklch(53.12% 0.21 322.5)
XYZxyz(23.6495, 12.7858, 42.8087)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB1 #3FB12F
analogous
#602FB1 #A12FB1 #B12F80
triadic
#A12FB1 #B1A12F #2FB1A1
tetradic
#A12FB1 #B1602F #3FB12F #2F80B1
square
#A12FB1 #B1602F #3FB12F #2F80B1
split-complementary
#A12FB1 #80B12F #2FB160
monochromatic
#491550 #752281 #A12FB1 #C04DD0 #D17EDD

Accessibility & contrast

On white

5.90
#A12FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A12FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FB1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FB1#FFFFFF#000000##FFFFFF
##A12FB11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#A3476E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fb1;
/* rgb */ color: rgb(161, 47, 177);
/* oklch */ color: oklch(53.1% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#c173c9',
    500: '#a12fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb1;
$custom-light: #c173c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb1",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 292.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.20984,
    "h": 322.5
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#A12FB1
secondary
#80C576
accent
#E1475A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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