#C140D9#C140D9

#C140D9 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.238 H 320.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C140D9
RGBrgb(193, 64, 217)
HSLhsl(291, 67%, 55%)
HSVhsv(291, 71%, 85%)
CMYKcmyk(11.1%, 70.5%, 0%, 14.9%)
CIE-LABlab(51.86, 70.45, -53.61)
CIE-LCHlch(51.86, 88.53, 322.73°)
OKLaboklab(61.58% 0.1845 -0.15)
OKLCHoklch(61.58% 0.238 320.9)
XYZxyz(36.3486, 20.0159, 67.5810)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140D9 #58D940
analogous
#7440D9 #C140D9 #D940A5
triadic
#C140D9 #D9C140 #40D9C1
tetradic
#C140D9 #D97440 #58D940 #40A5D9
square
#C140D9 #D97440 #58D940 #40A5D9
split-complementary
#C140D9 #A5D940 #40D974
monochromatic
#741A84 #A024B7 #C140D9 #D273E3 #E2A6ED

Accessibility & contrast

On white

4.20
#C140D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C140D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140D9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140D9#FFFFFF#000000##000000
##C140D91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#5180D5
Tritanopia (blue-blind)
#C25D89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c140d9;
/* rgb */ color: rgb(193, 64, 217);
/* oklch */ color: oklch(61.6% 0.238 320.9);
Tailwind
colors: {
  custom: {
    50: '#d880e5',
    500: '#c140d9',
    950: '#000000',
  },
}
SCSS
$custom: #c140d9;
$custom-light: #d880e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c140d9",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 290.588,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.2378,
    "h": 320.9
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#C140D9
secondary
#A4DA9A
accent
#EA3E59
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C140D9

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

Preview Lab → · Contrast checker → · Palette generator →

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