#C142BF#C142BF

#C142BF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.214 H 328.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C142BF
RGBrgb(193, 66, 191)
HSLhsl(301, 51%, 51%)
HSVhsv(301, 66%, 76%)
CMYKcmyk(0%, 65.8%, 1%, 24.3%)
CIE-LABlab(50.68, 65.21, -40.54)
CIE-LCHlch(50.68, 76.78, 328.13°)
OKLaboklab(60.28% 0.1826 -0.112)
OKLCHoklch(60.28% 0.214 328.5)
XYZxyz(33.3441, 18.9978, 51.1908)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142BF #42C144
analogous
#8342C1 #C142BF #C1427F
triadic
#C142BF #BFC142 #42BFC1
tetradic
#C142BF #C18342 #42C144 #427FC1
square
#C142BF #C18342 #42C144 #427FC1
split-complementary
#C142BF #7FC142 #42C183
monochromatic
#672266 #953193 #C142BF #D070CF #DF9EDE

Accessibility & contrast

On white

4.38
#C142BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C142BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142BF#FFFFFF#000000##000000
##C142BF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#326EC3
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#C7537B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c142bf;
/* rgb */ color: rgb(193, 66, 191);
/* oklch */ color: oklch(60.3% 0.214 328.5);
Tailwind
colors: {
  custom: {
    50: '#d780d3',
    500: '#c142bf',
    950: '#000000',
  },
}
SCSS
$custom: #c142bf;
$custom-light: #d780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c142bf",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 300.945,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.2142,
    "h": 328.5
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#C142BF
secondary
#93CC94
accent
#DA504E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142BF

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

Preview Lab → · Contrast checker → · Palette generator →

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