#C12CAF#C12CAF

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

Color values

HEX#C12CAF
RGBrgb(193, 44, 175)
HSLhsl(307, 63%, 46%)
HSVhsv(307, 77%, 76%)
CMYKcmyk(0%, 77.2%, 9.3%, 24.3%)
CIE-LABlab(47.28, 70.03, -36.56)
CIE-LCHlch(47.28, 79.00, 332.43°)
OKLaboklab(57.56% 0.203 -0.1003)
OKLCHoklch(57.56% 0.226 333.7)
XYZxyz(30.6311, 16.2367, 42.0699)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CAF #2CC13E
analogous
#892CC1 #C12CAF #C12C65
triadic
#C12CAF #AFC12C #2CAFC1
tetradic
#C12CAF #C1892C #2CC13E #2C65C1
square
#C12CAF #C1892C #2CC13E #2C65C1
split-complementary
#C12CAF #65C12C #2CC189
monochromatic
#5D1555 #8F2182 #C12CAF #D853C8 #E384D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12CAF#FFFFFF#000000##FFFFFF
##C12CAF1.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)
#2762B2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#CA3C6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12caf;
/* rgb */ color: rgb(193, 44, 175);
/* oklch */ color: oklch(57.6% 0.226 333.7);
Tailwind
colors: {
  custom: {
    50: '#d876c7',
    500: '#c12caf',
    950: '#000000',
  },
}
SCSS
$custom: #c12caf;
$custom-light: #d876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c12caf",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 307.248,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57563,
    "c": 0.22645,
    "h": 333.7
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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