#C142C7#C142C7

#C142C7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.221 H 326.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C142C7
RGBrgb(193, 66, 199)
HSLhsl(297, 54%, 52%)
HSVhsv(297, 67%, 78%)
CMYKcmyk(3%, 66.8%, 0%, 22%)
CIE-LABlab(51.11, 66.55, -44.50)
CIE-LCHlch(51.11, 80.06, 326.23°)
OKLaboklab(60.72% 0.1829 -0.1234)
OKLCHoklch(60.72% 0.221 326)
XYZxyz(34.2486, 19.3596, 55.9546)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142C7 #48C742
analogous
#7F42C7 #C142C7 #C7428B
triadic
#C142C7 #C7C142 #42C7C1
tetradic
#C142C7 #C77F42 #48C742 #428BC7
square
#C142C7 #C77F42 #48C742 #428BC7
split-complementary
#C142C7 #8BC742 #42C77F
monochromatic
#6B216E #982F9D #C142C7 #D071D5 #E0A0E3

Accessibility & contrast

On white

4.31
#C142C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C142C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142C7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142C7#FFFFFF#000000##000000
##C142C71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CB
Deuteranopia (green-blind)
#5E7FC4
Tritanopia (blue-blind)
#C6567F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c142c7;
/* rgb */ color: rgb(193, 66, 199);
/* oklch */ color: oklch(60.7% 0.221 326.0);
Tailwind
colors: {
  custom: {
    50: '#d781d8',
    500: '#c142c7',
    950: '#000000',
  },
}
SCSS
$custom: #c142c7;
$custom-light: #d781d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c142c7",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 297.293,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60715,
    "c": 0.22062,
    "h": 326
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#C142C7
secondary
#98D095
accent
#DE4A51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142C7

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

Preview Lab → · Contrast checker → · Palette generator →

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