#C140C9#C140C9

#C140C9 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.225 H 325.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C140C9
RGBrgb(193, 64, 201)
HSLhsl(296, 56%, 52%)
HSVhsv(296, 68%, 79%)
CMYKcmyk(4%, 68.2%, 0%, 21.2%)
CIE-LABlab(50.95, 67.64, -45.90)
CIE-LCHlch(50.95, 81.75, 325.84°)
OKLaboklab(60.64% 0.185 -0.1275)
OKLCHoklch(60.64% 0.225 325.4)
XYZxyz(34.3676, 19.2235, 57.1473)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C9 #48C940
analogous
#7C40C9 #C140C9 #C9408D
triadic
#C140C9 #C9C140 #40C9C1
tetradic
#C140C9 #C97C40 #48C940 #408DC9
square
#C140C9 #C97C40 #48C940 #408DC9
split-complementary
#C140C9 #8DC940 #40C97C
monochromatic
#6B1F6F #982D9F #C140C9 #D070D6 #E09FE4

Accessibility & contrast

On white

4.34
#C140C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C140C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C9#FFFFFF#000000##000000
##C140C91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#216FCD
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#C55680
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140c9;
/* rgb */ color: rgb(193, 64, 201);
/* oklch */ color: oklch(60.6% 0.225 325.4);
Tailwind
colors: {
  custom: {
    50: '#d780da',
    500: '#c140c9',
    950: '#000000',
  },
}
SCSS
$custom: #c140c9;
$custom-light: #d780da;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c9",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 201
  },
  "hsl": {
    "h": 296.496,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.22465,
    "h": 325.4
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#C140C9
secondary
#98D094
accent
#DF4951
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C140C9

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

Preview Lab → · Contrast checker → · Palette generator →

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