#A12BB7#A12BB7

#A12BB7 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.219 H 320.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A12BB7
RGBrgb(161, 43, 183)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 77%, 72%)
CMYKcmyk(12%, 76.5%, 0%, 28.2%)
CIE-LABlab(42.35, 65.01, -49.45)
CIE-LCHlch(42.35, 81.68, 322.74°)
OKLaboklab(53.18% 0.1695 -0.1386)
OKLCHoklch(53.18% 0.219 320.7)
XYZxyz(24.1081, 12.7250, 45.9769)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB7 #41B72B
analogous
#5B2BB7 #A12BB7 #B72B87
triadic
#A12BB7 #B7A12B #2BB7A1
tetradic
#A12BB7 #B75B2B #41B72B #2B87B7
square
#A12BB7 #B75B2B #41B72B #2B87B7
split-complementary
#A12BB7 #87B72B #2BB75B
monochromatic
#4A1454 #751F85 #A12BB7 #BF4BD5 #D17CE0

Accessibility & contrast

On white

5.92
#A12BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB7#FFFFFF#000000##FFFFFF
##A12BB71.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#A24870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12bb7;
/* rgb */ color: rgb(161, 43, 183);
/* oklch */ color: oklch(53.2% 0.219 320.7);
Tailwind
colors: {
  custom: {
    50: '#c172cd',
    500: '#a12bb7',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb7;
$custom-light: #c172cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb7",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 290.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.21895,
    "h": 320.7
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#A12BB7
secondary
#82C975
accent
#E5435C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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