#C140C6#C140C6

#C140C6 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.5% C 0.222 H 326.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C140C6
RGBrgb(193, 64, 198)
HSLhsl(298, 54%, 51%)
HSVhsv(298, 68%, 78%)
CMYKcmyk(2.5%, 67.7%, 0%, 22.4%)
CIE-LABlab(50.78, 67.13, -44.43)
CIE-LCHlch(50.78, 80.50, 326.50°)
OKLaboklab(60.47% 0.1849 -0.1232)
OKLCHoklch(60.47% 0.222 326.3)
XYZxyz(34.0181, 19.0837, 55.3069)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C6 #45C640
analogous
#7E40C6 #C140C6 #C64088
triadic
#C140C6 #C6C140 #40C6C1
tetradic
#C140C6 #C67E40 #45C640 #4088C6
square
#C140C6 #C67E40 #45C640 #4088C6
split-complementary
#C140C6 #88C640 #40C67E
monochromatic
#69206C #972E9B #C140C6 #D06FD4 #E09EE2

Accessibility & contrast

On white

4.36
#C140C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C140C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C6#FFFFFF#000000##000000
##C140C61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#266ECA
Deuteranopia (green-blind)
#5E7FC3
Tritanopia (blue-blind)
#C6547E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140c6;
/* rgb */ color: rgb(193, 64, 198);
/* oklch */ color: oklch(60.5% 0.222 326.3);
Tailwind
colors: {
  custom: {
    50: '#d780d8',
    500: '#c140c6',
    950: '#000000',
  },
}
SCSS
$custom: #c140c6;
$custom-light: #d780d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c6",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 297.761,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60468,
    "c": 0.22224,
    "h": 326.3
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#C140C6
secondary
#96CE93
accent
#DD4A50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C140C6

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

Preview Lab → · Contrast checker → · Palette generator →

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