#C142C1#C142C1

#C142C1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.216 H 327.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C142C1
RGBrgb(193, 66, 193)
HSLhsl(300, 51%, 51%)
HSVhsv(300, 66%, 76%)
CMYKcmyk(0%, 65.8%, 0%, 24.3%)
CIE-LABlab(50.79, 65.54, -41.54)
CIE-LCHlch(50.79, 77.59, 327.63°)
OKLaboklab(60.38% 0.1827 -0.1148)
OKLCHoklch(60.38% 0.216 327.8)
XYZxyz(33.5657, 19.0864, 52.3579)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142C1 #42C142
analogous
#8142C1 #C142C1 #C14281
triadic
#C142C1 #C1C142 #42C1C1
tetradic
#C142C1 #C18142 #42C142 #4281C1
square
#C142C1 #C18142 #42C142 #4281C1
split-complementary
#C142C1 #81C142 #42C181
monochromatic
#672267 #953195 #C142C1 #D070D0 #DF9EDF

Accessibility & contrast

On white

4.36
#C142C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C142C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142C1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142C1#FFFFFF#000000##000000
##C142C11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#306EC5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#C7547C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c142c1;
/* rgb */ color: rgb(193, 66, 193);
/* oklch */ color: oklch(60.4% 0.216 327.8);
Tailwind
colors: {
  custom: {
    50: '#d780d4',
    500: '#c142c1',
    950: '#000000',
  },
}
SCSS
$custom: #c142c1;
$custom-light: #d780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c142c1",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.21578,
    "h": 327.8
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#C142C1
secondary
#93CC93
accent
#DA4E4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142C1

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

Preview Lab → · Contrast checker → · Palette generator →

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