#C12CB0#C12CB0

#C12CB0 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.227 H 333.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C12CB0
RGBrgb(193, 44, 176)
HSLhsl(307, 63%, 46%)
HSVhsv(307, 77%, 76%)
CMYKcmyk(0%, 77.2%, 8.8%, 24.3%)
CIE-LABlab(47.33, 70.18, -37.07)
CIE-LCHlch(47.33, 79.36, 332.16°)
OKLaboklab(57.62% 0.2031 -0.1018)
OKLCHoklch(57.62% 0.227 333.4)
XYZxyz(30.7297, 16.2761, 42.5890)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB0 #2CC13D
analogous
#882CC1 #C12CB0 #C12C66
triadic
#C12CB0 #B0C12C #2CB0C1
tetradic
#C12CB0 #C1882C #2CC13D #2C66C1
square
#C12CB0 #C1882C #2CC13D #2C66C1
split-complementary
#C12CB0 #66C12C #2CC188
monochromatic
#5D1555 #8F2183 #C12CB0 #D853C8 #E384D8

Accessibility & contrast

On white

4.94
#C12CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C12CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB0#FFFFFF#000000##FFFFFF
##C12CB01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#CA3C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cb0;
/* rgb */ color: rgb(193, 44, 176);
/* oklch */ color: oklch(57.6% 0.227 333.4);
Tailwind
colors: {
  custom: {
    50: '#d876c8',
    500: '#c12cb0',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb0;
$custom-light: #d876c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb0",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 306.846,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.22714,
    "h": 333.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#C12CB0
secondary
#7DCC86
accent
#E65542
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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