#C140ED#C140ED

#C140ED is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.8% C 0.255 H 315.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C140ED
RGBrgb(193, 64, 237)
HSLhsl(285, 83%, 59%)
HSVhsv(285, 73%, 93%)
CMYKcmyk(18.6%, 73%, 0%, 7.1%)
CIE-LABlab(53.08, 74.13, -62.95)
CIE-LCHlch(53.08, 97.25, 319.66°)
OKLaboklab(62.84% 0.1828 -0.1773)
OKLCHoklch(62.84% 0.255 315.9)
XYZxyz(39.1094, 21.1202, 82.1208)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C140ED #6CED40
analogous
#6B40ED #C140ED #ED40C3
triadic
#C140ED #EDC140 #40EDC1
tetradic
#C140ED #ED6B40 #6CED40 #40C3ED
square
#C140ED #ED6B40 #6CED40 #40C3ED
split-complementary
#C140ED #C3ED40 #40ED6B
monochromatic
#7E0FA3 #A915DB #C140ED #D378F2 #E5B0F8

Accessibility & contrast

On white

4.02
#C140ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C140ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C140ED
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C140ED#FFFFFF#000000##000000
##C140ED1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#BE6594
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c140ed;
/* rgb */ color: rgb(193, 64, 237);
/* oklch */ color: oklch(62.8% 0.255 315.9);
Tailwind
colors: {
  custom: {
    50: '#d881f4',
    500: '#c140ed',
    950: '#000000',
  },
}
SCSS
$custom: #c140ed;
$custom-light: #d881f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c140ed",
  "rgb": {
    "r": 193,
    "g": 64,
    "b": 237
  },
  "hsl": {
    "h": 284.74,
    "s": 82.775,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62842,
    "c": 0.25466,
    "h": 315.9
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#C140ED
secondary
#B4E6A2
accent
#F92F62
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #C140ED

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

Preview Lab → · Contrast checker → · Palette generator →

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