#A12AB8#A12AB8

#A12AB8 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.221 H 320.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A12AB8
RGBrgb(161, 42, 184)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 72%)
CMYKcmyk(12.5%, 77.2%, 0%, 27.8%)
CIE-LABlab(42.30, 65.51, -50.11)
CIE-LCHlch(42.30, 82.48, 322.59°)
OKLaboklab(53.16% 0.1702 -0.1405)
OKLCHoklch(53.16% 0.221 320.5)
XYZxyz(24.1766, 12.6950, 46.5150)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AB8 #41B82A
analogous
#5A2AB8 #A12AB8 #B82A88
triadic
#A12AB8 #B8A12A #2AB8A1
tetradic
#A12AB8 #B85A2A #41B82A #2A88B8
square
#A12AB8 #B85A2A #41B82A #2A88B8
split-complementary
#A12AB8 #88B82A #2AB85A
monochromatic
#4A1354 #751F86 #A12AB8 #BF4AD6 #D17BE1

Accessibility & contrast

On white

5.93
#A12AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AB8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AB8#FFFFFF#000000##FFFFFF
##A12AB81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3968B5
Tritanopia (blue-blind)
#A24870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12ab8;
/* rgb */ color: rgb(161, 42, 184);
/* oklch */ color: oklch(53.2% 0.221 320.5);
Tailwind
colors: {
  custom: {
    50: '#c171ce',
    500: '#a12ab8',
    950: '#000000',
  },
}
SCSS
$custom: #a12ab8;
$custom-light: #c171ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ab8",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 290.282,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.22075,
    "h": 320.5
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#A12AB8
secondary
#82C975
accent
#E6425C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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