#C142D1#C142D1

#C142D1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.229 H 323.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C142D1
RGBrgb(193, 66, 209)
HSLhsl(293, 61%, 54%)
HSVhsv(293, 68%, 82%)
CMYKcmyk(7.7%, 68.4%, 0%, 18%)
CIE-LABlab(51.66, 68.29, -49.37)
CIE-LCHlch(51.66, 84.26, 324.14°)
OKLaboklab(61.29% 0.1828 -0.1376)
OKLCHoklch(61.29% 0.229 323)
XYZxyz(35.4480, 19.8394, 62.2715)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142D1 #52D142
analogous
#7A42D1 #C142D1 #D1429A
triadic
#C142D1 #D1C142 #42D1C1
tetradic
#C142D1 #D17A42 #52D142 #429AD1
square
#C142D1 #D17A42 #52D142 #429AD1
split-complementary
#C142D1 #9AD142 #42D17A
monochromatic
#701E7B #9D2AAC #C142D1 #D173DD #E1A4E9

Accessibility & contrast

On white

4.23
#C142D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C142D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142D1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142D1#FFFFFF#000000##000000
##C142D11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1672D5
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#C45A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c142d1;
/* rgb */ color: rgb(193, 66, 209);
/* oklch */ color: oklch(61.3% 0.229 323.0);
Tailwind
colors: {
  custom: {
    50: '#d781e0',
    500: '#c142d1',
    950: '#000000',
  },
}
SCSS
$custom: #c142d1;
$custom-light: #d781e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c142d1",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 293.287,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.22884,
    "h": 323
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#C142D1
secondary
#A0D699
accent
#E44456
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C142D1

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

Preview Lab → · Contrast checker → · Palette generator →

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