#A12BAD#A12BAD

#A12BAD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.211 H 323.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A12BAD
RGBrgb(161, 43, 173)
HSLhsl(294, 60%, 42%)
HSVhsv(294, 75%, 68%)
CMYKcmyk(6.9%, 75.1%, 0%, 32.2%)
CIE-LABlab(41.73, 63.23, -44.53)
CIE-LCHlch(41.73, 77.34, 324.84°)
OKLaboklab(52.54% 0.1703 -0.1242)
OKLCHoklch(52.54% 0.211 323.9)
XYZxyz(23.1040, 12.3234, 40.6888)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BAD #37AD2B
analogous
#602BAD #A12BAD #AD2B78
triadic
#A12BAD #ADA12B #2BADA1
tetradic
#A12BAD #AD602B #37AD2B #2B78AD
square
#A12BAD #AD602B #37AD2B #2B78AD
split-complementary
#A12BAD #78AD2B #2BAD60
monochromatic
#46134B #731F7C #A12BAD #C445D1 #D376DD

Accessibility & contrast

On white

6.06
#A12BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A12BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BAD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BAD#FFFFFF#000000##FFFFFF
##A12BAD1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#A4436A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12bad;
/* rgb */ color: rgb(161, 43, 173);
/* oklch */ color: oklch(52.5% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#c171c6',
    500: '#a12bad',
    950: '#000000',
  },
}
SCSS
$custom: #a12bad;
$custom-light: #c171c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bad",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 294.462,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.2108,
    "h": 323.9
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#A12BAD
secondary
#77C46F
accent
#E34453
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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