#C142CB#C142CB

#C142CB is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.224 H 324.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C142CB
RGBrgb(193, 66, 203)
HSLhsl(296, 57%, 53%)
HSVhsv(296, 67%, 80%)
CMYKcmyk(4.9%, 67.5%, 0%, 20.4%)
CIE-LABlab(51.32, 67.24, -46.46)
CIE-LCHlch(51.32, 81.73, 325.36°)
OKLaboklab(60.94% 0.1829 -0.1291)
OKLCHoklch(60.94% 0.224 324.8)
XYZxyz(34.7192, 19.5478, 58.4327)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142CB #4CCB42
analogous
#7C42CB #C142CB #CB4291
triadic
#C142CB #CBC142 #42CBC1
tetradic
#C142CB #CB7C42 #4CCB42 #4291CB
square
#C142CB #CB7C42 #4CCB42 #4291CB
split-complementary
#C142CB #91CB42 #42CB7C
monochromatic
#6D2073 #9A2DA3 #C142CB #D172D8 #E0A2E5

Accessibility & contrast

On white

4.28
#C142CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C142CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142CB#FFFFFF#000000##000000
##C142CB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#C55882
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c142cb;
/* rgb */ color: rgb(193, 66, 203);
/* oklch */ color: oklch(60.9% 0.224 324.8);
Tailwind
colors: {
  custom: {
    50: '#d781db',
    500: '#c142cb',
    950: '#000000',
  },
}
SCSS
$custom: #c142cb;
$custom-light: #d781db;
$custom-dark: #000000;
JSON
{
  "hex": "#c142cb",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 295.62,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.22389,
    "h": 324.8
  },
  "luminance": 0.19546
}

Semantic roles & 50–950 ramp

primary
#C142CB
secondary
#9BD297
accent
#E04853
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C142CB

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

Preview Lab → · Contrast checker → · Palette generator →

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