#C140C5#C140C5

#C140C5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.221 H 326.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C140C5
RGBrgb(193, 64, 197)
HSLhsl(298, 53%, 51%)
HSVhsv(298, 68%, 77%)
CMYKcmyk(2%, 67.5%, 0%, 22.7%)
CIE-LABlab(50.73, 66.96, -43.94)
CIE-LCHlch(50.73, 80.09, 326.73°)
OKLaboklab(60.41% 0.1849 -0.1218)
OKLCHoklch(60.41% 0.221 326.6)
XYZxyz(33.9032, 19.0377, 54.7014)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C5 #44C540
analogous
#7E40C5 #C140C5 #C54086
triadic
#C140C5 #C5C140 #40C5C1
tetradic
#C140C5 #C57E40 #44C540 #4086C5
square
#C140C5 #C57E40 #44C540 #4086C5
split-complementary
#C140C5 #86C540 #40C57E
monochromatic
#68206A #962F99 #C140C5 #D06FD3 #DF9EE2

Accessibility & contrast

On white

4.37
#C140C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C140C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C5#FFFFFF#000000##000000
##C140C51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#5E7EC2
Tritanopia (blue-blind)
#C6547E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140c5;
/* rgb */ color: rgb(193, 64, 197);
/* oklch */ color: oklch(60.4% 0.221 326.6);
Tailwind
colors: {
  custom: {
    50: '#d77fd7',
    500: '#c140c5',
    950: '#000000',
  },
}
SCSS
$custom: #c140c5;
$custom-light: #d77fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c5",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 298.195,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.22143,
    "h": 326.6
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#C140C5
secondary
#95CE93
accent
#DD4B4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C140C5

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

Preview Lab → · Contrast checker → · Palette generator →

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