#C12DCE#C12DCE

#C12DCE is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.4% C 0.248 H 324.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C12DCE
RGBrgb(193, 45, 206)
HSLhsl(295, 64%, 49%)
HSVhsv(295, 78%, 81%)
CMYKcmyk(6.3%, 78.2%, 0%, 19.2%)
CIE-LABlab(49.10, 74.59, -51.73)
CIE-LCHlch(49.10, 90.77, 325.26°)
OKLaboklab(59.41% 0.2016 -0.1444)
OKLCHoklch(59.41% 0.248 324.4)
XYZxyz(34.0704, 17.6727, 59.9972)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DCE #3ACE2D
analogous
#712DCE #C12DCE #CE2D8B
triadic
#C12DCE #CEC12D #2DCEC1
tetradic
#C12DCE #CE712D #3ACE2D #2D8BCE
square
#C12DCE #CE712D #3ACE2D #2D8BCE
split-complementary
#C12DCE #8BCE2D #2DCE71
monochromatic
#63176A #92229C #C12DCE #D15DDC #DF8FE7

Accessibility & contrast

On white

4.63
#C12DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C12DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DCE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DCE#FFFFFF#000000##FFFFFF
##C12DCE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#C54D7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c12dce;
/* rgb */ color: rgb(193, 45, 206);
/* oklch */ color: oklch(59.4% 0.248 324.4);
Tailwind
colors: {
  custom: {
    50: '#d878de',
    500: '#c12dce',
    950: '#000000',
  },
}
SCSS
$custom: #c12dce;
$custom-light: #d878de;
$custom-dark: #000000;
JSON
{
  "hex": "#c12dce",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 295.155,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.24799,
    "h": 324.4
  },
  "luminance": 0.1767
}

Semantic roles & 50–950 ramp

primary
#C12DCE
secondary
#8CD186
accent
#E7414E
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C12DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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