#C140C1#C140C1

#C140C1 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.218 H 327.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C140C1
RGBrgb(193, 64, 193)
HSLhsl(300, 51%, 50%)
HSVhsv(300, 67%, 76%)
CMYKcmyk(0%, 66.8%, 0%, 24.3%)
CIE-LABlab(50.52, 66.29, -41.96)
CIE-LCHlch(50.52, 78.46, 327.67°)
OKLaboklab(60.19% 0.1848 -0.1161)
OKLCHoklch(60.19% 0.218 327.9)
XYZxyz(33.4509, 18.8568, 52.3196)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C1 #40C140
analogous
#8040C1 #C140C1 #C14080
triadic
#C140C1 #C1C140 #40C1C1
tetradic
#C140C1 #C18040 #40C140 #4080C1
square
#C140C1 #C18040 #40C140 #4080C1
split-complementary
#C140C1 #80C140 #40C180
monochromatic
#662166 #943094 #C140C1 #D06ED0 #DF9CDF

Accessibility & contrast

On white

4.40
#C140C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C140C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C1#FFFFFF#000000##000000
##C140C11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC5
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#C7527C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c140c1;
/* rgb */ color: rgb(193, 64, 193);
/* oklch */ color: oklch(60.2% 0.218 327.9);
Tailwind
colors: {
  custom: {
    50: '#d77fd4',
    500: '#c140c1',
    950: '#000000',
  },
}
SCSS
$custom: #c140c1;
$custom-light: #d77fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c1",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.21824,
    "h": 327.9
  },
  "luminance": 0.18855
}

Semantic roles & 50–950 ramp

primary
#C140C1
secondary
#92CB92
accent
#DA4D4D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C140C1

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

Preview Lab → · Contrast checker → · Palette generator →

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