#C12DCA#C12DCA

#C12DCA is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.2% C 0.245 H 325.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C12DCA
RGBrgb(193, 45, 202)
HSLhsl(297, 64%, 48%)
HSVhsv(297, 78%, 79%)
CMYKcmyk(4.5%, 77.7%, 0%, 20.8%)
CIE-LABlab(48.86, 73.94, -49.80)
CIE-LCHlch(48.86, 89.15, 326.04°)
OKLaboklab(59.17% 0.2019 -0.1388)
OKLCHoklch(59.17% 0.245 325.5)
XYZxyz(33.5906, 17.4808, 57.4706)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DCA #36CA2D
analogous
#732DCA #C12DCA #CA2D84
triadic
#C12DCA #CAC12D #2DCAC1
tetradic
#C12DCA #CA732D #36CA2D #2D84CA
square
#C12DCA #CA732D #36CA2D #2D84CA
split-complementary
#C12DCA #84CA2D #2DCA73
monochromatic
#611766 #912298 #C12DCA #D35ADA #E08CE5

Accessibility & contrast

On white

4.67
#C12DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C12DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DCA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DCA#FFFFFF#000000##FFFFFF
##C12DCA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#527AC6
Tritanopia (blue-blind)
#C64B7C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c12dca;
/* rgb */ color: rgb(193, 45, 202);
/* oklch */ color: oklch(59.2% 0.245 325.5);
Tailwind
colors: {
  custom: {
    50: '#d878db',
    500: '#c12dca',
    950: '#000000',
  },
}
SCSS
$custom: #c12dca;
$custom-light: #d878db;
$custom-dark: #000000;
JSON
{
  "hex": "#c12dca",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 296.561,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59165,
    "c": 0.245,
    "h": 325.5
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#C12DCA
secondary
#88CF83
accent
#E7414B
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C12DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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