#C142C6#C142C6

#C142C6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.220 H 326.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C142C6
RGBrgb(193, 66, 198)
HSLhsl(298, 54%, 52%)
HSVhsv(298, 67%, 78%)
CMYKcmyk(2.5%, 66.7%, 0%, 22.4%)
CIE-LABlab(51.05, 66.38, -44.01)
CIE-LCHlch(51.05, 79.64, 326.46°)
OKLaboklab(60.66% 0.1828 -0.122)
OKLCHoklch(60.66% 0.22 326.3)
XYZxyz(34.1329, 19.3133, 55.3452)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142C6 #47C642
analogous
#7F42C6 #C142C6 #C64289
triadic
#C142C6 #C6C142 #42C6C1
tetradic
#C142C6 #C67F42 #47C642 #4289C6
square
#C142C6 #C67F42 #47C642 #4289C6
split-complementary
#C142C6 #89C642 #42C67F
monochromatic
#6A216D #982F9C #C142C6 #D071D4 #E0A0E2

Accessibility & contrast

On white

4.32
#C142C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C142C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142C6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142C6#FFFFFF#000000##000000
##C142C61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FCA
Deuteranopia (green-blind)
#5F7FC3
Tritanopia (blue-blind)
#C6567F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c142c6;
/* rgb */ color: rgb(193, 66, 198);
/* oklch */ color: oklch(60.7% 0.220 326.3);
Tailwind
colors: {
  custom: {
    50: '#d780d8',
    500: '#c142c6',
    950: '#000000',
  },
}
SCSS
$custom: #c142c6;
$custom-light: #d780d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c142c6",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 297.727,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.21981,
    "h": 326.3
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#C142C6
secondary
#97CF95
accent
#DD4B50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142C6

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

Preview Lab → · Contrast checker → · Palette generator →

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