#C12CBF#C12CBF

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

Color values

HEX#C12CBF
RGBrgb(193, 44, 191)
HSLhsl(301, 63%, 46%)
HSVhsv(301, 77%, 76%)
CMYKcmyk(0%, 77.2%, 1%, 24.3%)
CIE-LABlab(48.14, 72.45, -44.58)
CIE-LCHlch(48.14, 85.07, 328.40°)
OKLaboklab(58.45% 0.2032 -0.1235)
OKLCHoklch(58.45% 0.238 328.7)
XYZxyz(32.2967, 16.9029, 50.8417)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CBF #2CC12E
analogous
#792CC1 #C12CBF #C12C75
triadic
#C12CBF #BFC12C #2CBFC1
tetradic
#C12CBF #C1792C #2CC12E #2C75C1
square
#C12CBF #C1792C #2CC12E #2C75C1
split-complementary
#C12CBF #75C12C #2CC179
monochromatic
#5D155C #8F218E #C12CBF #D853D6 #E384E2

Accessibility & contrast

On white

4.79
#C12CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C12CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CBF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CBF#FFFFFF#000000##FFFFFF
##C12CBF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#C84475
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12cbf;
/* rgb */ color: rgb(193, 44, 191);
/* oklch */ color: oklch(58.4% 0.238 328.7);
Tailwind
colors: {
  custom: {
    50: '#d877d3',
    500: '#c12cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c12cbf;
$custom-light: #d877d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cbf",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 300.805,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.23779,
    "h": 328.7
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#C12CBF
secondary
#7DCC7E
accent
#E64442
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C12CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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