#A12BB1#A12BB1

#A12BB1 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.214 H 322.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A12BB1
RGBrgb(161, 43, 177)
HSLhsl(293, 61%, 43%)
HSVhsv(293, 76%, 69%)
CMYKcmyk(9%, 75.7%, 0%, 30.6%)
CIE-LABlab(41.97, 63.94, -46.51)
CIE-LCHlch(41.97, 79.06, 323.97°)
OKLaboklab(52.79% 0.17 -0.13)
OKLCHoklch(52.79% 0.214 322.6)
XYZxyz(23.4968, 12.4805, 42.7578)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB1 #3BB12B
analogous
#5E2BB1 #A12BB1 #B12B7E
triadic
#A12BB1 #B1A12B #2BB1A1
tetradic
#A12BB1 #B15E2B #3BB12B #2B7EB1
square
#A12BB1 #B15E2B #3BB12B #2B7EB1
split-complementary
#A12BB1 #7EB12B #2BB15E
monochromatic
#47134F #741F80 #A12BB1 #C247D2 #D278DE

Accessibility & contrast

On white

6.01
#A12BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A12BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB1#FFFFFF#000000##FFFFFF
##A12BB11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4067AE
Tritanopia (blue-blind)
#A3456D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12bb1;
/* rgb */ color: rgb(161, 43, 177);
/* oklch */ color: oklch(52.8% 0.214 322.6);
Tailwind
colors: {
  custom: {
    50: '#c172c9',
    500: '#a12bb1',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb1;
$custom-light: #c172c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb1",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 292.836,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.21405,
    "h": 322.6
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#A12BB1
secondary
#7CC672
accent
#E44457
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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