#C12FC1#C12FC1

#C12FC1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.237 H 328.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C12FC1
RGBrgb(193, 47, 193)
HSLhsl(300, 61%, 47%)
HSVhsv(300, 76%, 76%)
CMYKcmyk(0%, 75.6%, 0%, 24.3%)
CIE-LABlab(48.54, 71.93, -45.10)
CIE-LCHlch(48.54, 84.90, 327.91°)
OKLaboklab(58.77% 0.2008 -0.1251)
OKLCHoklch(58.77% 0.237 328.1)
XYZxyz(32.6341, 17.2232, 52.0473)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FC1 #2FC12F
analogous
#782FC1 #C12FC1 #C12F78
triadic
#C12FC1 #C1C12F #2FC1C1
tetradic
#C12FC1 #C1782F #2FC12F #2F78C1
square
#C12FC1 #C1782F #2FC12F #2F78C1
split-complementary
#C12FC1 #78C12F #2FC178
monochromatic
#5F175F #902390 #C12FC1 #D657D6 #E288E2

Accessibility & contrast

On white

4.73
#C12FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C12FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FC1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FC1#FFFFFF#000000##FFFFFF
##C12FC11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0667C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#C74777
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c12fc1;
/* rgb */ color: rgb(193, 47, 193);
/* oklch */ color: oklch(58.8% 0.237 328.1);
Tailwind
colors: {
  custom: {
    50: '#d878d4',
    500: '#c12fc1',
    950: '#000000',
  },
}
SCSS
$custom: #c12fc1;
$custom-light: #d878d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fc1",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58772,
    "c": 0.23653,
    "h": 328.1
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#C12FC1
secondary
#80CC80
accent
#E44444
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C12FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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