#C142CC#C142CC

#C142CC is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.225 H 324.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C142CC
RGBrgb(193, 66, 204)
HSLhsl(295, 58%, 53%)
HSVhsv(295, 68%, 80%)
CMYKcmyk(5.4%, 67.6%, 0%, 20%)
CIE-LABlab(51.38, 67.41, -46.94)
CIE-LCHlch(51.38, 82.15, 325.15°)
OKLaboklab(61% 0.1829 -0.1305)
OKLCHoklch(61% 0.225 324.5)
XYZxyz(34.8387, 19.5956, 59.0624)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142CC #4DCC42
analogous
#7C42CC #C142CC #CC4292
triadic
#C142CC #CCC142 #42CCC1
tetradic
#C142CC #CC7C42 #4DCC42 #4292CC
square
#C142CC #CC7C42 #4DCC42 #4292CC
split-complementary
#C142CC #92CC42 #42CC7C
monochromatic
#6D1F74 #9B2CA4 #C142CC #D172D9 #E1A2E6

Accessibility & contrast

On white

4.27
#C142CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C142CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142CC#FFFFFF#000000##000000
##C142CC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#C55882
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c142cc;
/* rgb */ color: rgb(193, 66, 204);
/* oklch */ color: oklch(61.0% 0.225 324.5);
Tailwind
colors: {
  custom: {
    50: '#d781dc',
    500: '#c142cc',
    950: '#000000',
  },
}
SCSS
$custom: #c142cc;
$custom-light: #d781dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c142cc",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 295.217,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.22471,
    "h": 324.5
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#C142CC
secondary
#9CD397
accent
#E14753
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C142CC

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

Preview Lab → · Contrast checker → · Palette generator →

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