#A12AB6#A12AB6

#A12AB6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.219 H 321.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A12AB6
RGBrgb(161, 42, 182)
HSLhsl(291, 63%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(11.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(42.17, 65.15, -49.14)
CIE-LCHlch(42.17, 81.60, 322.97°)
OKLaboklab(53.03% 0.1704 -0.1377)
OKLCHoklch(53.03% 0.219 321.1)
XYZxyz(23.9684, 12.6117, 45.4187)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AB6 #3FB62A
analogous
#5B2AB6 #A12AB6 #B62A85
triadic
#A12AB6 #B6A12A #2AB6A1
tetradic
#A12AB6 #B65B2A #3FB62A #2A85B6
square
#A12AB6 #B65B2A #3FB62A #2A85B6
split-complementary
#A12AB6 #85B62A #2AB65B
monochromatic
#491353 #751F84 #A12AB6 #C048D5 #D17AE0

Accessibility & contrast

On white

5.96
#A12AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A12AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AB6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AB6#FFFFFF#000000##FFFFFF
##A12AB61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3B68B3
Tritanopia (blue-blind)
#A2476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12ab6;
/* rgb */ color: rgb(161, 42, 182);
/* oklch */ color: oklch(53.0% 0.219 321.1);
Tailwind
colors: {
  custom: {
    50: '#c171cc',
    500: '#a12ab6',
    950: '#000000',
  },
}
SCSS
$custom: #a12ab6;
$custom-light: #c171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ab6",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 291,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.21911,
    "h": 321.1
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#A12AB6
secondary
#80C873
accent
#E6425B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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