#C242C2#C242C2

#C242C2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.217 H 327.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C242C2
RGBrgb(194, 66, 194)
HSLhsl(300, 51%, 51%)
HSVhsv(300, 66%, 76%)
CMYKcmyk(0%, 66%, 0%, 23.9%)
CIE-LABlab(50.99, 65.94, -41.78)
CIE-LCHlch(50.99, 78.06, 327.64°)
OKLaboklab(60.58% 0.1838 -0.1155)
OKLCHoklch(60.58% 0.217 327.8)
XYZxyz(33.9335, 19.2631, 52.9593)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C2 #42C242
analogous
#8242C2 #C242C2 #C24282
triadic
#C242C2 #C2C242 #42C2C2
tetradic
#C242C2 #C28242 #42C242 #4282C2
square
#C242C2 #C28242 #42C242 #4282C2
split-complementary
#C242C2 #82C242 #42C282
monochromatic
#682268 #963196 #C242C2 #D170D1 #E09FE0

Accessibility & contrast

On white

4.33
#C242C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C242C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242C2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242C2#FFFFFF#000000##000000
##C242C21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#C8547D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c242c2;
/* rgb */ color: rgb(194, 66, 194);
/* oklch */ color: oklch(60.6% 0.217 327.8);
Tailwind
colors: {
  custom: {
    50: '#d880d5',
    500: '#c242c2',
    950: '#000000',
  },
}
SCSS
$custom: #c242c2;
$custom-light: #d880d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c2",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.2171,
    "h": 327.8
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242C2

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

Preview Lab → · Contrast checker → · Palette generator →

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