#C12CBA#C12CBA

#C12CBA is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.234 H 330.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C12CBA
RGBrgb(193, 44, 186)
HSLhsl(303, 63%, 46%)
HSVhsv(303, 77%, 76%)
CMYKcmyk(0%, 77.2%, 3.6%, 24.3%)
CIE-LABlab(47.86, 71.68, -42.10)
CIE-LCHlch(47.86, 83.13, 329.57°)
OKLaboklab(58.17% 0.2032 -0.1163)
OKLCHoklch(58.17% 0.234 330.2)
XYZxyz(31.7558, 16.6865, 47.9932)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CBA #2CC133
analogous
#7E2CC1 #C12CBA #C12C70
triadic
#C12CBA #BAC12C #2CBAC1
tetradic
#C12CBA #C17E2C #2CC133 #2C70C1
square
#C12CBA #C17E2C #2CC133 #2C70C1
split-complementary
#C12CBA #70C12C #2CC17E
monochromatic
#5D155A #8F218A #C12CBA #D853D1 #E384DF

Accessibility & contrast

On white

4.84
#C12CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C12CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CBA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CBA#FFFFFF#000000##FFFFFF
##C12CBA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#5B79B6
Tritanopia (blue-blind)
#C84272
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12cba;
/* rgb */ color: rgb(193, 44, 186);
/* oklch */ color: oklch(58.2% 0.234 330.2);
Tailwind
colors: {
  custom: {
    50: '#d877cf',
    500: '#c12cba',
    950: '#000000',
  },
}
SCSS
$custom: #c12cba;
$custom-light: #d877cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cba",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 302.819,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.23418,
    "h": 330.2
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#C12CBA
secondary
#7DCC80
accent
#E64A42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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