#C140C8#C140C8

#C140C8 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.224 H 325.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C140C8
RGBrgb(193, 64, 200)
HSLhsl(297, 55%, 52%)
HSVhsv(297, 68%, 78%)
CMYKcmyk(3.5%, 68%, 0%, 21.6%)
CIE-LABlab(50.89, 67.47, -45.41)
CIE-LCHlch(50.89, 81.33, 326.06°)
OKLaboklab(60.58% 0.185 -0.1261)
OKLCHoklch(60.58% 0.224 325.7)
XYZxyz(34.2503, 19.1766, 56.5298)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140C8 #47C840
analogous
#7D40C8 #C140C8 #C8408B
triadic
#C140C8 #C8C140 #40C8C1
tetradic
#C140C8 #C87D40 #47C840 #408BC8
square
#C140C8 #C87D40 #47C840 #408BC8
split-complementary
#C140C8 #8BC840 #40C87D
monochromatic
#6A206E #982D9D #C140C8 #D070D6 #E09FE3

Accessibility & contrast

On white

4.34
#C140C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C140C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140C8#FFFFFF#000000##000000
##C140C81.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#C6557F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c140c8;
/* rgb */ color: rgb(193, 64, 200);
/* oklch */ color: oklch(60.6% 0.224 325.7);
Tailwind
colors: {
  custom: {
    50: '#d780d9',
    500: '#c140c8',
    950: '#000000',
  },
}
SCSS
$custom: #c140c8;
$custom-light: #d780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c140c8",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 296.912,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.22384,
    "h": 325.7
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#C140C8
secondary
#97D094
accent
#DF4951
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #C140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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