#C142BD#C142BD

#C142BD is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.213 H 329.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C142BD
RGBrgb(193, 66, 189)
HSLhsl(302, 51%, 51%)
HSVhsv(302, 66%, 76%)
CMYKcmyk(0%, 65.8%, 2.1%, 24.3%)
CIE-LABlab(50.58, 64.87, -39.54)
CIE-LCHlch(50.58, 75.98, 328.64°)
OKLaboklab(60.17% 0.1825 -0.1091)
OKLCHoklch(60.17% 0.213 329.1)
XYZxyz(33.1255, 18.9104, 50.0396)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142BD #42C146
analogous
#8542C1 #C142BD #C1427D
triadic
#C142BD #BDC142 #42BDC1
tetradic
#C142BD #C18542 #42C146 #427DC1
square
#C142BD #C18542 #42C146 #427DC1
split-complementary
#C142BD #7DC142 #42C185
monochromatic
#672265 #953192 #C142BD #D070CD #DF9EDD

Accessibility & contrast

On white

4.39
#C142BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C142BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142BD#FFFFFF#000000##000000
##C142BD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DC1
Deuteranopia (green-blind)
#647EBA
Tritanopia (blue-blind)
#C8527A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c142bd;
/* rgb */ color: rgb(193, 66, 189);
/* oklch */ color: oklch(60.2% 0.213 329.1);
Tailwind
colors: {
  custom: {
    50: '#d780d1',
    500: '#c142bd',
    950: '#000000',
  },
}
SCSS
$custom: #c142bd;
$custom-light: #d780d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c142bd",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 301.89,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.21261,
    "h": 329.1
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#C142BD
secondary
#93CC95
accent
#DA524E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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