#C140CA#C140CA

#C140CA is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.225 H 325.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C140CA
RGBrgb(193, 64, 202)
HSLhsl(296, 57%, 52%)
HSVhsv(296, 68%, 79%)
CMYKcmyk(4.5%, 68.3%, 0%, 20.8%)
CIE-LABlab(51.00, 67.81, -46.39)
CIE-LCHlch(51.00, 82.16, 325.63°)
OKLaboklab(60.69% 0.185 -0.1289)
OKLCHoklch(60.69% 0.225 325.1)
XYZxyz(34.4856, 19.2707, 57.7689)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140CA #49CA40
analogous
#7C40CA #C140CA #CA408E
triadic
#C140CA #CAC140 #40CAC1
tetradic
#C140CA #CA7C40 #49CA40 #408ECA
square
#C140CA #CA7C40 #49CA40 #408ECA
split-complementary
#C140CA #8ECA40 #40CA7C
monochromatic
#6B1F70 #992CA0 #C140CA #D170D7 #E0A0E5

Accessibility & contrast

On white

4.33
#C140CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C140CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140CA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140CA#FFFFFF#000000##000000
##C140CA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#206FCE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#C55680
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140ca;
/* rgb */ color: rgb(193, 64, 202);
/* oklch */ color: oklch(60.7% 0.225 325.1);
Tailwind
colors: {
  custom: {
    50: '#d780db',
    500: '#c140ca',
    950: '#000000',
  },
}
SCSS
$custom: #c140ca;
$custom-light: #d780db;
$custom-dark: #000000;
JSON
{
  "hex": "#c140ca",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 296.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.22546,
    "h": 325.1
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#C140CA
secondary
#99D195
accent
#E04852
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C140CA

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

Preview Lab → · Contrast checker → · Palette generator →

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