#A12AB3#A12AB3

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

Color values

HEX#A12AB3
RGBrgb(161, 42, 179)
HSLhsl(292, 62%, 43%)
HSVhsv(292, 77%, 70%)
CMYKcmyk(10.1%, 76.5%, 0%, 29.8%)
CIE-LABlab(41.98, 64.61, -47.67)
CIE-LCHlch(41.98, 80.29, 323.58°)
OKLaboklab(52.84% 0.1707 -0.1334)
OKLCHoklch(52.84% 0.217 322)
XYZxyz(23.6617, 12.4890, 43.8034)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AB3 #3CB32A
analogous
#5C2AB3 #A12AB3 #B32A80
triadic
#A12AB3 #B3A12A #2AB3A1
tetradic
#A12AB3 #B35C2A #3CB32A #2A80B3
square
#A12AB3 #B35C2A #3CB32A #2A80B3
split-complementary
#A12AB3 #80B32A #2AB35C
monochromatic
#481350 #741E81 #A12AB3 #C146D4 #D278DF

Accessibility & contrast

On white

6.00
#A12AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12AB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AB3#FFFFFF#000000##FFFFFF
##A12AB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12ab3;
/* rgb */ color: rgb(161, 42, 179);
/* oklch */ color: oklch(52.8% 0.217 322.0);
Tailwind
colors: {
  custom: {
    50: '#c171ca',
    500: '#a12ab3',
    950: '#000000',
  },
}
SCSS
$custom: #a12ab3;
$custom-light: #c171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ab3",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 292.117,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.21666,
    "h": 322
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#A12AB3
secondary
#7DC772
accent
#E54358
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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