#C12FCA#C12FCA

#C12FCA is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.3% C 0.243 H 325.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C12FCA
RGBrgb(193, 47, 202)
HSLhsl(297, 62%, 49%)
HSVhsv(297, 77%, 79%)
CMYKcmyk(4.5%, 76.7%, 0%, 20.8%)
CIE-LABlab(49.05, 73.38, -49.50)
CIE-LCHlch(49.05, 88.51, 326.00°)
OKLaboklab(59.3% 0.2004 -0.1379)
OKLCHoklch(59.3% 0.243 325.5)
XYZxyz(33.6688, 17.6370, 57.4966)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FCA #38CA2F
analogous
#742FCA #C12FCA #CA2F86
triadic
#C12FCA #CAC12F #2FCAC1
tetradic
#C12FCA #CA742F #38CA2F #2F86CA
square
#C12FCA #CA742F #38CA2F #2F86CA
split-complementary
#C12FCA #86CA2F #2FCA74
monochromatic
#621867 #922398 #C12FCA #D25DD9 #E08FE5

Accessibility & contrast

On white

4.64
#C12FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12FCA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FCA#FFFFFF#000000##FFFFFF
##C12FCA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#537BC6
Tritanopia (blue-blind)
#C64C7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c12fca;
/* rgb */ color: rgb(193, 47, 202);
/* oklch */ color: oklch(59.3% 0.243 325.5);
Tailwind
colors: {
  custom: {
    50: '#d878db',
    500: '#c12fca',
    950: '#000000',
  },
}
SCSS
$custom: #c12fca;
$custom-light: #d878db;
$custom-dark: #000000;
JSON
{
  "hex": "#c12fca",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 296.516,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.24323,
    "h": 325.5
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#C12FCA
secondary
#8ACF86
accent
#E5424C
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C12FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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