#C12CC0#C12CC0

#C12CC0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.239 H 328.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C12CC0
RGBrgb(193, 44, 192)
HSLhsl(300, 63%, 46%)
HSVhsv(300, 77%, 76%)
CMYKcmyk(0%, 77.2%, 0.5%, 24.3%)
CIE-LABlab(48.19, 72.61, -45.07)
CIE-LCHlch(48.19, 85.46, 328.17°)
OKLaboklab(58.51% 0.2032 -0.125)
OKLCHoklch(58.51% 0.239 328.4)
XYZxyz(32.4071, 16.9470, 51.4232)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CC0 #2CC12D
analogous
#782CC1 #C12CC0 #C12C76
triadic
#C12CC0 #C0C12C #2CC0C1
tetradic
#C12CC0 #C1782C #2CC12D #2C76C1
square
#C12CC0 #C1782C #2CC12D #2C76C1
split-complementary
#C12CC0 #76C12C #2CC178
monochromatic
#5D155D #8F218E #C12CC0 #D853D7 #E384E2

Accessibility & contrast

On white

4.78
#C12CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C12CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CC0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CC0#FFFFFF#000000##FFFFFF
##C12CC01.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#C74576
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12cc0;
/* rgb */ color: rgb(193, 44, 192);
/* oklch */ color: oklch(58.5% 0.239 328.4);
Tailwind
colors: {
  custom: {
    50: '#d877d3',
    500: '#c12cc0',
    950: '#000000',
  },
}
SCSS
$custom: #c12cc0;
$custom-light: #d877d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cc0",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 300.403,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.23851,
    "h": 328.4
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#C12CC0
secondary
#7DCC7D
accent
#E64342
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C12CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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