#C140D8#C140D8

#C140D8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.237 H 321.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C140D8
RGBrgb(193, 64, 216)
HSLhsl(291, 66%, 55%)
HSVhsv(291, 70%, 85%)
CMYKcmyk(10.6%, 70.4%, 0%, 15.3%)
CIE-LABlab(51.80, 70.27, -53.14)
CIE-LCHlch(51.80, 88.10, 322.90°)
OKLaboklab(61.52% 0.1846 -0.1486)
OKLCHoklch(61.52% 0.237 321.2)
XYZxyz(36.2190, 19.9640, 66.8981)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140D8 #57D840
analogous
#7540D8 #C140D8 #D840A3
triadic
#C140D8 #D8C140 #40D8C1
tetradic
#C140D8 #D87540 #57D840 #40A3D8
square
#C140D8 #D87540 #57D840 #40A3D8
split-complementary
#C140D8 #A3D840 #40D875
monochromatic
#731B83 #A025B6 #C140D8 #D173E2 #E2A6ED

Accessibility & contrast

On white

4.21
#C140D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C140D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140D8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140D8#FFFFFF#000000##000000
##C140D81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#5280D4
Tritanopia (blue-blind)
#C35C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c140d8;
/* rgb */ color: rgb(193, 64, 216);
/* oklch */ color: oklch(61.5% 0.237 321.2);
Tailwind
colors: {
  custom: {
    50: '#d880e5',
    500: '#c140d8',
    950: '#000000',
  },
}
SCSS
$custom: #c140d8;
$custom-light: #d880e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c140d8",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 290.921,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.23697,
    "h": 321.2
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C140D8

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

Preview Lab → · Contrast checker → · Palette generator →

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