#C140CD#C140CD

#C140CD is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.228 H 324.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C140CD
RGBrgb(193, 64, 205)
HSLhsl(295, 59%, 53%)
HSVhsv(295, 69%, 80%)
CMYKcmyk(5.9%, 68.8%, 0%, 19.6%)
CIE-LABlab(51.17, 68.33, -47.85)
CIE-LCHlch(51.17, 83.42, 325.00°)
OKLaboklab(60.87% 0.1849 -0.1332)
OKLCHoklch(60.87% 0.228 324.2)
XYZxyz(34.8442, 19.4141, 59.6578)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140CD #4CCD40
analogous
#7B40CD #C140CD #CD4092
triadic
#C140CD #CDC140 #40CDC1
tetradic
#C140CD #CD7B40 #4CCD40 #4092CD
square
#C140CD #CD7B40 #4CCD40 #4092CD
split-complementary
#C140CD #92CD40 #40CD7B
monochromatic
#6D1E74 #9A2BA5 #C140CD #D171DA #E0A1E6

Accessibility & contrast

On white

4.30
#C140CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C140CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140CD#FFFFFF#000000##000000
##C140CD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D1
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#C55782
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c140cd;
/* rgb */ color: rgb(193, 64, 205);
/* oklch */ color: oklch(60.9% 0.228 324.2);
Tailwind
colors: {
  custom: {
    50: '#d780dd',
    500: '#c140cd',
    950: '#000000',
  },
}
SCSS
$custom: #c140cd;
$custom-light: #d780dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c140cd",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 294.894,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.2279,
    "h": 324.2
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#C140CD
secondary
#9BD396
accent
#E24653
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C140CD

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

Preview Lab → · Contrast checker → · Palette generator →

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