#C140D3#C140D3

#C140D3 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.2% C 0.233 H 322.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C140D3
RGBrgb(193, 64, 211)
HSLhsl(293, 63%, 54%)
HSVhsv(293, 70%, 83%)
CMYKcmyk(8.5%, 69.7%, 0%, 17.3%)
CIE-LABlab(51.51, 69.38, -50.75)
CIE-LCHlch(51.51, 85.96, 323.82°)
OKLaboklab(61.22% 0.1848 -0.1416)
OKLCHoklch(61.22% 0.233 322.5)
XYZxyz(35.5824, 19.7094, 63.5455)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140D3 #52D340
analogous
#7840D3 #C140D3 #D3409C
triadic
#C140D3 #D3C140 #40D3C1
tetradic
#C140D3 #D37840 #52D340 #409CD3
square
#C140D3 #D37840 #52D340 #409CD3
split-complementary
#C140D3 #9CD340 #40D378
monochromatic
#701D7C #9D28AE #C140D3 #D172DE #E1A3EA

Accessibility & contrast

On white

4.25
#C140D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C140D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140D3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140D3#FFFFFF#000000##000000
##C140D31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0671D7
Deuteranopia (green-blind)
#5580CF
Tritanopia (blue-blind)
#C45A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c140d3;
/* rgb */ color: rgb(193, 64, 211);
/* oklch */ color: oklch(61.2% 0.233 322.5);
Tailwind
colors: {
  custom: {
    50: '#d880e1',
    500: '#c140d3',
    950: '#000000',
  },
}
SCSS
$custom: #c140d3;
$custom-light: #d880e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c140d3",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 292.653,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.23282,
    "h": 322.5
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#C140D3
secondary
#A0D798
accent
#E64256
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C140D3

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

Preview Lab → · Contrast checker → · Palette generator →

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