#A12CB1#A12CB1

#A12CB1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.213 H 322.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A12CB1
RGBrgb(161, 44, 177)
HSLhsl(293, 60%, 43%)
HSVhsv(293, 75%, 69%)
CMYKcmyk(9%, 75.1%, 0%, 30.6%)
CIE-LABlab(42.08, 63.61, -46.33)
CIE-LCHlch(42.08, 78.69, 323.93°)
OKLaboklab(52.87% 0.1691 -0.1295)
OKLCHoklch(52.87% 0.213 322.6)
XYZxyz(23.5336, 12.5541, 42.7701)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB1 #3CB12C
analogous
#5E2CB1 #A12CB1 #B12C7E
triadic
#A12CB1 #B1A12C #2CB1A1
tetradic
#A12CB1 #B15E2C #3CB12C #2C7EB1
square
#A12CB1 #B15E2C #3CB12C #2C7EB1
split-complementary
#A12CB1 #7EB12C #2CB15E
monochromatic
#48144F #742080 #A12CB1 #C149D2 #D27ADE

Accessibility & contrast

On white

5.98
#A12CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A12CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB1#FFFFFF#000000##FFFFFF
##A12CB11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A3466D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12cb1;
/* rgb */ color: rgb(161, 44, 177);
/* oklch */ color: oklch(52.9% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#c172c9',
    500: '#a12cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb1;
$custom-light: #c172c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb1",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 292.782,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.21302,
    "h": 322.6
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#A12CB1
secondary
#7DC673
accent
#E34458
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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