#A12AB1#A12AB1

#A12AB1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 322.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A12AB1
RGBrgb(161, 42, 177)
HSLhsl(293, 62%, 43%)
HSVhsv(293, 76%, 69%)
CMYKcmyk(9%, 76.3%, 0%, 30.6%)
CIE-LABlab(41.86, 64.26, -46.69)
CIE-LCHlch(41.86, 79.43, 324.00°)
OKLaboklab(52.71% 0.1709 -0.1305)
OKLCHoklch(52.71% 0.215 322.6)
XYZxyz(23.4609, 12.4087, 42.7458)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AB1 #3AB12A
analogous
#5D2AB1 #A12AB1 #B12A7D
triadic
#A12AB1 #B1A12A #2AB1A1
tetradic
#A12AB1 #B15D2A #3AB12A #2A7DB1
square
#A12AB1 #B15D2A #3AB12A #2A7DB1
split-complementary
#A12AB1 #7DB12A #2AB15D
monochromatic
#47134E #741E80 #A12AB1 #C245D3 #D277DF

Accessibility & contrast

On white

6.03
#A12AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A12AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AB1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AB1#FFFFFF#000000##FFFFFF
##A12AB11.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12ab1;
/* rgb */ color: rgb(161, 42, 177);
/* oklch */ color: oklch(52.7% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#c171c9',
    500: '#a12ab1',
    950: '#000000',
  },
}
SCSS
$custom: #a12ab1;
$custom-light: #c171c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ab1",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 292.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.21504,
    "h": 322.6
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#A12AB1
secondary
#7BC670
accent
#E54356
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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