#C12DCF#C12DCF

#C12DCF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.5% C 0.249 H 324.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C12DCF
RGBrgb(193, 45, 207)
HSLhsl(295, 64%, 49%)
HSVhsv(295, 78%, 81%)
CMYKcmyk(6.8%, 78.3%, 0%, 18.8%)
CIE-LABlab(49.16, 74.76, -52.21)
CIE-LCHlch(49.16, 91.18, 325.07°)
OKLaboklab(59.47% 0.2016 -0.1458)
OKLCHoklch(59.47% 0.249 324.1)
XYZxyz(34.1922, 17.7214, 60.6390)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DCF #3BCF2D
analogous
#702DCF #C12DCF #CF2D8C
triadic
#C12DCF #CFC12D #2DCFC1
tetradic
#C12DCF #CF702D #3BCF2D #2D8CCF
square
#C12DCF #CF702D #3BCF2D #2D8CCF
split-complementary
#C12DCF #8CCF2D #2DCF70
monochromatic
#63176A #92229D #C12DCF #D15DDC #DF90E7

Accessibility & contrast

On white

4.62
#C12DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C12DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DCF#FFFFFF#000000##FFFFFF
##C12DCF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12dcf;
/* rgb */ color: rgb(193, 45, 207);
/* oklch */ color: oklch(59.5% 0.249 324.1);
Tailwind
colors: {
  custom: {
    50: '#d878de',
    500: '#c12dcf',
    950: '#000000',
  },
}
SCSS
$custom: #c12dcf;
$custom-light: #d878de;
$custom-dark: #000000;
JSON
{
  "hex": "#c12dcf",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 207
  },
  "hsl": {
    "h": 294.815,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.24875,
    "h": 324.1
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#C12DCF
secondary
#8DD187
accent
#E7414F
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C12DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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