#C242C0#C242C0

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

Color values

HEX#C242C0
RGBrgb(194, 66, 192)
HSLhsl(301, 51%, 51%)
HSVhsv(301, 66%, 76%)
CMYKcmyk(0%, 66%, 1%, 23.9%)
CIE-LABlab(50.89, 65.61, -40.79)
CIE-LCHlch(50.89, 77.25, 328.13°)
OKLaboklab(60.47% 0.1837 -0.1126)
OKLCHoklch(60.47% 0.216 328.5)
XYZxyz(33.7104, 19.1739, 51.7844)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C0 #42C244
analogous
#8442C2 #C242C0 #C24280
triadic
#C242C0 #C0C242 #42C0C2
tetradic
#C242C0 #C28442 #42C244 #4280C2
square
#C242C0 #C28442 #42C244 #4280C2
split-complementary
#C242C0 #80C242 #42C284
monochromatic
#682267 #963195 #C242C0 #D170CF #E09FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C242C0#FFFFFF#000000##000000
##C242C01.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)
#326EC4
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#C8537C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c242c0;
/* rgb */ color: rgb(194, 66, 192);
/* oklch */ color: oklch(60.5% 0.216 328.5);
Tailwind
colors: {
  custom: {
    50: '#d880d3',
    500: '#c242c0',
    950: '#000000',
  },
}
SCSS
$custom: #c242c0;
$custom-light: #d880d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c0",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 300.938,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60471,
    "c": 0.21551,
    "h": 328.5
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#C242C0
secondary
#94CC94
accent
#DB4F4D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C242C0

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

Preview Lab → · Contrast checker → · Palette generator →

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