#C140C7#C140C7

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

Color values

HEX#C140C7
RGBrgb(193, 64, 199)
HSLhsl(297, 55%, 52%)
HSVhsv(297, 68%, 78%)
CMYKcmyk(3%, 67.8%, 0%, 22%)
CIE-LABlab(50.84, 67.30, -44.92)
CIE-LCHlch(50.84, 80.92, 326.28°)
OKLaboklab(60.52% 0.185 -0.1246)
OKLCHoklch(60.52% 0.223 326)
XYZxyz(34.1338, 19.1300, 55.9163)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C7 #46C740
analogous
#7E40C7 #C140C7 #C7408A
triadic
#C140C7 #C7C140 #40C7C1
tetradic
#C140C7 #C77E40 #46C740 #408AC7
square
#C140C7 #C77E40 #46C740 #408AC7
split-complementary
#C140C7 #8AC740 #40C77E
monochromatic
#69206D #972E9C #C140C7 #D06FD5 #E09FE3

Accessibility & contrast

On white

4.35
#C140C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C140C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C7#FFFFFF#000000##000000
##C140C71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#C6557F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140c7;
/* rgb */ color: rgb(193, 64, 199);
/* oklch */ color: oklch(60.5% 0.223 326.0);
Tailwind
colors: {
  custom: {
    50: '#d780d8',
    500: '#c140c7',
    950: '#000000',
  },
}
SCSS
$custom: #c140c7;
$custom-light: #d780d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c7",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 297.333,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.22303,
    "h": 326
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#C140C7
secondary
#96CF94
accent
#DE4A50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C140C7

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

Preview Lab → · Contrast checker → · Palette generator →

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