#C12CC9#C12CC9

#C12CC9 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.0% C 0.245 H 325.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C12CC9
RGBrgb(193, 44, 201)
HSLhsl(297, 64%, 48%)
HSVhsv(297, 78%, 79%)
CMYKcmyk(4%, 78.1%, 0%, 21.2%)
CIE-LABlab(48.71, 74.04, -49.47)
CIE-LCHlch(48.71, 89.05, 326.25°)
OKLaboklab(59.04% 0.2028 -0.1378)
OKLCHoklch(59.04% 0.245 325.8)
XYZxyz(33.4349, 17.3582, 56.8365)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CC9 #34C92C
analogous
#732CC9 #C12CC9 #C92C82
triadic
#C12CC9 #C9C12C #2CC9C1
tetradic
#C12CC9 #C9732C #34C92C #2C82C9
square
#C12CC9 #C9732C #34C92C #2C82C9
split-complementary
#C12CC9 #82C92C #2CC973
monochromatic
#611665 #912197 #C12CC9 #D458DA #E18AE5

Accessibility & contrast

On white

4.70
#C12CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C12CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CC9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CC9#FFFFFF#000000##FFFFFF
##C12CC91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#C64A7B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c12cc9;
/* rgb */ color: rgb(193, 44, 201);
/* oklch */ color: oklch(59.0% 0.245 325.8);
Tailwind
colors: {
  custom: {
    50: '#d877da',
    500: '#c12cc9',
    950: '#000000',
  },
}
SCSS
$custom: #c12cc9;
$custom-light: #d877da;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cc9",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 296.943,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.24512,
    "h": 325.8
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#C12CC9
secondary
#86CF82
accent
#E74149
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C12CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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