#C140E3#C140E3

#C140E3 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.2% C 0.246 H 318.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C140E3
RGBrgb(193, 64, 227)
HSLhsl(287, 74%, 57%)
HSVhsv(287, 72%, 89%)
CMYKcmyk(15%, 71.8%, 0%, 11%)
CIE-LABlab(52.46, 72.27, -58.32)
CIE-LCHlch(52.46, 92.86, 321.10°)
OKLaboklab(62.2% 0.1838 -0.1638)
OKLCHoklch(62.2% 0.246 318.3)
XYZxyz(37.6889, 20.5520, 74.6398)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140E3 #62E340
analogous
#7040E3 #C140E3 #E340B3
triadic
#C140E3 #E3C140 #40E3C1
tetradic
#C140E3 #E37040 #62E340 #40B3E3
square
#C140E3 #E37040 #62E340 #40B3E3
split-complementary
#C140E3 #B3E340 #40E370
monochromatic
#791693 #A51DC8 #C140E3 #D275EB #E4ABF3

Accessibility & contrast

On white

4.11
#C140E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C140E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140E3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140E3#FFFFFF#000000##000000
##C140E31.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#C0618E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c140e3;
/* rgb */ color: rgb(193, 64, 227);
/* oklch */ color: oklch(62.2% 0.246 318.3);
Tailwind
colors: {
  custom: {
    50: '#d881ec',
    500: '#c140e3',
    950: '#000000',
  },
}
SCSS
$custom: #c140e3;
$custom-light: #d881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c140e3",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 287.485,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62199,
    "c": 0.24618,
    "h": 318.3
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#C140E3
secondary
#ACE19E
accent
#F1375E
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C140E3

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

Preview Lab → · Contrast checker → · Palette generator →

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