#C12CB6#C12CB6

#C12CB6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.231 H 331.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C12CB6
RGBrgb(193, 44, 182)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 77%, 76%)
CMYKcmyk(0%, 77.2%, 5.7%, 24.3%)
CIE-LABlab(47.65, 71.07, -40.10)
CIE-LCHlch(47.65, 81.60, 330.57°)
OKLaboklab(57.94% 0.2032 -0.1105)
OKLCHoklch(57.94% 0.231 331.5)
XYZxyz(31.3365, 16.5188, 45.7849)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB6 #2CC137
analogous
#822CC1 #C12CB6 #C12C6B
triadic
#C12CB6 #B6C12C #2CB6C1
tetradic
#C12CB6 #C1822C #2CC137 #2C6BC1
square
#C12CB6 #C1822C #2CC137 #2C6BC1
split-complementary
#C12CB6 #6BC12C #2CC182
monochromatic
#5D1558 #8F2187 #C12CB6 #D853CE #E384DC

Accessibility & contrast

On white

4.88
#C12CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C12CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB6#FFFFFF#000000##FFFFFF
##C12CB61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C64BA
Deuteranopia (green-blind)
#5E78B3
Tritanopia (blue-blind)
#C94070
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c12cb6;
/* rgb */ color: rgb(193, 44, 182);
/* oklch */ color: oklch(57.9% 0.231 331.5);
Tailwind
colors: {
  custom: {
    50: '#d876cc',
    500: '#c12cb6',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb6;
$custom-light: #d876cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb6",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 304.43,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.23134,
    "h": 331.5
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#C12CB6
secondary
#7DCC82
accent
#E64E42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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