#C12CBE#C12CBE

#C12CBE is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.237 H 329.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C12CBE
RGBrgb(193, 44, 190)
HSLhsl(301, 63%, 46%)
HSVhsv(301, 77%, 76%)
CMYKcmyk(0%, 77.2%, 1.6%, 24.3%)
CIE-LABlab(48.08, 72.30, -44.09)
CIE-LCHlch(48.08, 84.68, 328.63°)
OKLaboklab(58.39% 0.2032 -0.1221)
OKLCHoklch(58.39% 0.237 329)
XYZxyz(32.1870, 16.8590, 50.2641)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CBE #2CC12F
analogous
#7A2CC1 #C12CBE #C12C74
triadic
#C12CBE #BEC12C #2CBEC1
tetradic
#C12CBE #C17A2C #2CC12F #2C74C1
square
#C12CBE #C17A2C #2CC12F #2C74C1
split-complementary
#C12CBE #74C12C #2CC17A
monochromatic
#5D155C #8F218D #C12CBE #D853D5 #E384E1

Accessibility & contrast

On white

4.80
#C12CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C12CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CBE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CBE#FFFFFF#000000##FFFFFF
##C12CBE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C2
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#C84475
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12cbe;
/* rgb */ color: rgb(193, 44, 190);
/* oklch */ color: oklch(58.4% 0.237 329.0);
Tailwind
colors: {
  custom: {
    50: '#d877d2',
    500: '#c12cbe',
    950: '#000000',
  },
}
SCSS
$custom: #c12cbe;
$custom-light: #d877d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cbe",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 190
  },
  "hsl": {
    "h": 301.208,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.23707,
    "h": 329
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#C12CBE
secondary
#7DCC7E
accent
#E64542
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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