#C142C5#C142C5

#C142C5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.219 H 326.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C142C5
RGBrgb(193, 66, 197)
HSLhsl(298, 53%, 52%)
HSVhsv(298, 66%, 77%)
CMYKcmyk(2%, 66.5%, 0%, 22.7%)
CIE-LABlab(51.00, 66.21, -43.51)
CIE-LCHlch(51.00, 79.23, 326.69°)
OKLaboklab(60.6% 0.1828 -0.1206)
OKLCHoklch(60.6% 0.219 326.6)
XYZxyz(34.0180, 19.2673, 54.7397)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142C5 #46C542
analogous
#8042C5 #C142C5 #C54288
triadic
#C142C5 #C5C142 #42C5C1
tetradic
#C142C5 #C58042 #46C542 #4288C5
square
#C142C5 #C58042 #46C542 #4288C5
split-complementary
#C142C5 #88C542 #42C580
monochromatic
#69216C #972F9A #C142C5 #D071D3 #E0A0E2

Accessibility & contrast

On white

4.33
#C142C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C142C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142C5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142C5#FFFFFF#000000##000000
##C142C51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#C6557E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c142c5;
/* rgb */ color: rgb(193, 66, 197);
/* oklch */ color: oklch(60.6% 0.219 326.6);
Tailwind
colors: {
  custom: {
    50: '#d780d7',
    500: '#c142c5',
    950: '#000000',
  },
}
SCSS
$custom: #c142c5;
$custom-light: #d780d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c142c5",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 298.168,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.219,
    "h": 326.6
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#C142C5
secondary
#96CE95
accent
#DC4B50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C142C5

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

Preview Lab → · Contrast checker → · Palette generator →

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