#A12CB6#A12CB6

#A12CB6 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.217 H 321.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A12CB6
RGBrgb(161, 44, 182)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11.5%, 75.8%, 0%, 28.6%)
CIE-LABlab(42.40, 64.51, -48.78)
CIE-LCHlch(42.40, 80.88, 322.90°)
OKLaboklab(53.19% 0.1687 -0.1367)
OKLCHoklch(53.19% 0.217 321)
XYZxyz(24.0411, 12.7571, 45.4430)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB6 #41B62C
analogous
#5C2CB6 #A12CB6 #B62C86
triadic
#A12CB6 #B6A12C #2CB6A1
tetradic
#A12CB6 #B65C2C #41B62C #2C86B6
square
#A12CB6 #B65C2C #41B62C #2C86B6
split-complementary
#A12CB6 #86B62C #2CB65C
monochromatic
#4A1453 #752085 #A12CB6 #BF4CD4 #D17DE0

Accessibility & contrast

On white

5.91
#A12CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A12CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB6#FFFFFF#000000##FFFFFF
##A12CB61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3D68B3
Tritanopia (blue-blind)
#A24870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12cb6;
/* rgb */ color: rgb(161, 44, 182);
/* oklch */ color: oklch(53.2% 0.217 321.0);
Tailwind
colors: {
  custom: {
    50: '#c172cc',
    500: '#a12cb6',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb6;
$custom-light: #c172cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb6",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 290.87,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.21713,
    "h": 321
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#A12CB6
secondary
#82C876
accent
#E4445C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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