#C240C5#C240C5

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

Color values

HEX#C240C5
RGBrgb(194, 64, 197)
HSLhsl(299, 53%, 51%)
HSVhsv(299, 68%, 77%)
CMYKcmyk(1.5%, 67.5%, 0%, 22.7%)
CIE-LABlab(50.88, 67.19, -43.68)
CIE-LCHlch(50.88, 80.14, 326.97°)
OKLaboklab(60.55% 0.186 -0.121)
OKLCHoklch(60.55% 0.222 326.9)
XYZxyz(34.1590, 19.1696, 54.7134)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240C5 #43C540
analogous
#7F40C5 #C240C5 #C54085
triadic
#C240C5 #C5C240 #40C5C2
tetradic
#C240C5 #C57F40 #43C540 #4085C5
square
#C240C5 #C57F40 #43C540 #4085C5
split-complementary
#C240C5 #85C540 #40C57F
monochromatic
#69206A #972F99 #C240C5 #D16FD3 #E09EE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C240C5#FFFFFF#000000##000000
##C240C51.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)
#296FC9
Deuteranopia (green-blind)
#5F7FC2
Tritanopia (blue-blind)
#C7547E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c240c5;
/* rgb */ color: rgb(194, 64, 197);
/* oklch */ color: oklch(60.6% 0.222 326.9);
Tailwind
colors: {
  custom: {
    50: '#d880d7',
    500: '#c240c5',
    950: '#000000',
  },
}
SCSS
$custom: #c240c5;
$custom-light: #d880d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c240c5",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 298.647,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60552,
    "c": 0.22192,
    "h": 326.9
  },
  "luminance": 0.19167
}

Semantic roles & 50–950 ramp

primary
#C240C5
secondary
#94CE93
accent
#DD4B4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C240C5

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

Preview Lab → · Contrast checker → · Palette generator →

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