#C12CB2#C12CB2

#C12CB2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.229 H 332.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C12CB2
RGBrgb(193, 44, 178)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 76%)
CMYKcmyk(0%, 77.2%, 7.8%, 24.3%)
CIE-LABlab(47.44, 70.47, -38.08)
CIE-LCHlch(47.44, 80.10, 331.61°)
OKLaboklab(57.72% 0.2031 -0.1047)
OKLCHoklch(57.72% 0.229 332.7)
XYZxyz(30.9290, 16.3558, 43.6389)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB2 #2CC13B
analogous
#862CC1 #C12CB2 #C12C68
triadic
#C12CB2 #B2C12C #2CB2C1
tetradic
#C12CB2 #C1862C #2CC13B #2C68C1
square
#C12CB2 #C1862C #2CC13B #2C68C1
split-complementary
#C12CB2 #68C12C #2CC186
monochromatic
#5D1556 #8F2184 #C12CB2 #D853CA #E384DA

Accessibility & contrast

On white

4.92
#C12CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C12CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB2#FFFFFF#000000##FFFFFF
##C12CB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B6
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#CA3D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cb2;
/* rgb */ color: rgb(193, 44, 178);
/* oklch */ color: oklch(57.7% 0.229 332.7);
Tailwind
colors: {
  custom: {
    50: '#d876c9',
    500: '#c12cb2',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb2;
$custom-light: #d876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb2",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 306.04,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.22853,
    "h": 332.7
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#C12CB2
secondary
#7DCC85
accent
#E65242
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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