#A12CB0#A12CB0

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

Color values

HEX#A12CB0
RGBrgb(161, 44, 176)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 69%)
CMYKcmyk(8.5%, 75%, 0%, 31%)
CIE-LABlab(42.02, 63.43, -45.83)
CIE-LCHlch(42.02, 78.26, 324.15°)
OKLaboklab(52.81% 0.1692 -0.128)
OKLCHoklch(52.81% 0.212 322.9)
XYZxyz(23.4343, 12.5144, 42.2471)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB0 #3BB02C
analogous
#5F2CB0 #A12CB0 #B02C7D
triadic
#A12CB0 #B0A12C #2CB0A1
tetradic
#A12CB0 #B05F2C #3BB02C #2C7DB0
square
#A12CB0 #B05F2C #3BB02C #2C7DB0
split-complementary
#A12CB0 #7DB02C #2CB05F
monochromatic
#47144E #74207F #A12CB0 #C248D1 #D279DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12CB0#FFFFFF#000000##FFFFFF
##A12CB01.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)
#005BB4
Deuteranopia (green-blind)
#4168AD
Tritanopia (blue-blind)
#A3456C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12cb0;
/* rgb */ color: rgb(161, 44, 176);
/* oklch */ color: oklch(52.8% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#c172c8',
    500: '#a12cb0',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb0;
$custom-light: #c172c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb0",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 293.182,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.2122,
    "h": 322.9
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#A12CB0
secondary
#7CC672
accent
#E34557
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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