#A12BB3#A12BB3

#A12BB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.216 H 322.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A12BB3
RGBrgb(161, 43, 179)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 76%, 70%)
CMYKcmyk(10.1%, 76%, 0%, 29.8%)
CIE-LABlab(42.09, 64.29, -47.49)
CIE-LCHlch(42.09, 79.93, 323.55°)
OKLaboklab(52.92% 0.1699 -0.1329)
OKLCHoklch(52.92% 0.216 322)
XYZxyz(23.6976, 12.5609, 43.8154)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB3 #3DB32B
analogous
#5D2BB3 #A12BB3 #B32B81
triadic
#A12BB3 #B3A12B #2BB3A1
tetradic
#A12BB3 #B35D2B #3DB32B #2B81B3
square
#A12BB3 #B35D2B #3DB32B #2B81B3
split-complementary
#A12BB3 #81B32B #2BB35D
monochromatic
#481350 #751F82 #A12BB3 #C148D3 #D179DF

Accessibility & contrast

On white

5.98
#A12BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A12BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB3#FFFFFF#000000##FFFFFF
##A12BB31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#A3466E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12bb3;
/* rgb */ color: rgb(161, 43, 179);
/* oklch */ color: oklch(52.9% 0.216 322.0);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a12bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb3;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb3",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 292.059,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52916,
    "c": 0.21567,
    "h": 322
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#A12BB3
secondary
#7EC773
accent
#E44359
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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