#C12CB1#C12CB1

#C12CB1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.228 H 333.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C12CB1
RGBrgb(193, 44, 177)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 76%)
CMYKcmyk(0%, 77.2%, 8.3%, 24.3%)
CIE-LABlab(47.39, 70.32, -37.58)
CIE-LCHlch(47.39, 79.73, 331.88°)
OKLaboklab(57.67% 0.2031 -0.1032)
OKLCHoklch(57.67% 0.228 333.1)
XYZxyz(30.8290, 16.3158, 43.1120)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CB1 #2CC13C
analogous
#872CC1 #C12CB1 #C12C67
triadic
#C12CB1 #B1C12C #2CB1C1
tetradic
#C12CB1 #C1872C #2CC13C #2C67C1
square
#C12CB1 #C1872C #2CC13C #2C67C1
split-complementary
#C12CB1 #67C12C #2CC187
monochromatic
#5D1556 #8F2183 #C12CB1 #D853C9 #E384D9

Accessibility & contrast

On white

4.93
#C12CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C12CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CB1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CB1#FFFFFF#000000##FFFFFF
##C12CB11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#CA3D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cb1;
/* rgb */ color: rgb(193, 44, 177);
/* oklch */ color: oklch(57.7% 0.228 333.1);
Tailwind
colors: {
  custom: {
    50: '#d876c9',
    500: '#c12cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c12cb1;
$custom-light: #d876c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cb1",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 306.443,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.22784,
    "h": 333.1
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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