#A12ABC#A12ABC

#A12ABC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.224 H 319.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A12ABC
RGBrgb(161, 42, 188)
HSLhsl(289, 63%, 45%)
HSVhsv(289, 78%, 74%)
CMYKcmyk(14.4%, 77.7%, 0%, 26.3%)
CIE-LABlab(42.56, 66.24, -52.04)
CIE-LCHlch(42.56, 84.24, 321.84°)
OKLaboklab(53.43% 0.1697 -0.1462)
OKLCHoklch(53.43% 0.224 319.3)
XYZxyz(24.6018, 12.8651, 48.7545)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12ABC #45BC2A
analogous
#582ABC #A12ABC #BC2A8E
triadic
#A12ABC #BCA12A #2ABCA1
tetradic
#A12ABC #BC582A #45BC2A #2A8EBC
square
#A12ABC #BC582A #45BC2A #2A8EBC
split-complementary
#A12ABC #8EBC2A #2ABC58
monochromatic
#4B1458 #761F8A #A12ABC #BD4CD7 #D07EE2

Accessibility & contrast

On white

5.88
#A12ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A12ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12ABC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12ABC#FFFFFF#000000##FFFFFF
##A12ABC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#A14A73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12abc;
/* rgb */ color: rgb(161, 42, 188);
/* oklch */ color: oklch(53.4% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#c172d1',
    500: '#a12abc',
    950: '#000000',
  },
}
SCSS
$custom: #a12abc;
$custom-light: #c172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12abc",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 288.904,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53429,
    "c": 0.22404,
    "h": 319.3
  },
  "luminance": 0.12864
}

Semantic roles & 50–950 ramp

primary
#A12ABC
secondary
#87CB77
accent
#E74160
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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